std::string OEFromLatin1(const char *ptr)
Convert the string ‘ptr’ from the Latin1 character encoding to Lexichem’s
internal encoding, which uses
\u escapes to represent non-ASCII
This function is not available in Java or Python as those language environments use other character sets.