OEFromUTF8

std::string OEFromUTF8(const char *ptr)

Convert the string ‘ptr’ from the UTF-8 character encoding to Lexichem’s internal encoding, which uses \u escapes to represent non-ASCII characters.