Commit 9496ea9f authored by Murray Cumming's avatar Murray Cumming

Increase version

parent c7631e4a
2.9.1:
* First unstable 2.9.x release, to become stable 2.10.x.
* DomParser, SaxParser: Added
parse_memory_raw(const unsigned char* contents, size_type bytes)
for parsing non-utf8 text or text of unknown encoding.
2.8.0:
* Code Cleaning.
......
......@@ -85,7 +85,7 @@ int main(int argc, char* argv[])
std::cerr << "Glib::convert failed: " << ex.what() << std::endl;
}
parser.parse_memory_raw(contents_ucs2.c_str(), contents_ucs2.size());
parser.parse_memory_raw((const unsigned char*)contents_ucs2.c_str(), contents_ucs2.size());
//Look at the first few bytes, to see whether it really looks like UCS2.
//Because UCS2 uses 2 bytes, we would expect every second byte to be zero for our simple example:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment