Tinyxml cannot support UTF8 enough.It can analyse a xml using UTF8 code page well,but you app will display chaos text when the language is not english.To solve this problem,you can add youself code in tinyxml.Like other xml parser,such as xerces,we can supply a function named "Transcode" which use "MultibytetoWidechar" and "WidechartoMultibyte" to convert string.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tinyxml cannot support UTF8 enough.It can analyse a xml using UTF8 code page well,but you app will display chaos text when the language is not english.To solve this problem,you can add youself code in tinyxml.Like other xml parser,such as xerces,we can supply a function named "Transcode" which use "MultibytetoWidechar" and "WidechartoMultibyte" to convert string.
Sorry, but I don't think it is appropriate for an minimal XML parser to have encoding conversion functions.
Does anyone know of a good library of Multibyte/Unicode conversion functions that works well with TinyXML?
lee