Save using UTF-8

Klarre
2008-09-01
2013-05-20
  • Klarre
    Klarre
    2008-09-01

    In my application I generate a new Xml file. The file is always saved as ASCII though, and I need it to be UTF-8. Is it in some way possible to save it as UTF-8 using TinyXml?

    Thanks for your help!

    /Klahr

     
    • Lee Thomason
      Lee Thomason
      2008-10-16

      Klahr -

      TinyXml doesn't do any conversion. If it reads ASCII, it will write ASCII. If it reads UTF-8, it will write UTF-8. You should need to bring it in as UTF-8, and (just to be sure) set you encoding correctly in the XML file.

      lee