Menu

BOM descriptor for UTF-8 files

Lucian
2005-02-28
2013-05-20
  • Lucian

    Lucian - 2005-02-28

    hello!

    Just started to work with TinyXML.

    My application is running on PocketPC  2002. The application gets the Contacts and Addresses from pocket and inserts them into a XML file.

    This file needs to be with UTF-8 encoding. So far, I managed to insert all data with unicode support into this file with transformation  from wide-char to multybyte strings functions.

    I have a one question: how could I insert the BOM descriptor for this new created XML file?

    Thanks,

    Lucian

     
    • Lee Thomason

      Lee Thomason - 2005-03-02

      You shouldn't need it. If you set the encoding to "UTF-8" in the declaration it will work fine without the BOM tags. That's easier than getting the BOMs correct.

      lee

       

Log in to post a comment.