std::string OEToLatin1(const char *ptr, const bool remove_markup = true)
Convert the string ‘ptr’, typically the output of the function
OECreateIUPACName optionally post-processed by a
language translation function, from the internal encoding, which
\u escapes to represent non-ASCII characters, to Latin1 character
the ‘remove_markup’ flag controls the disposition of italics, superscript, and subscript markup. If the value is ‘true’ (the default), the markup is removed. If ‘false’, the markup is left in the output string, which should be post-processed.
This function is not available in Java or Python as those language environments use other character sets.