Menu

Encoding bug

urodoc
2018-07-16
2018-07-16
  • urodoc

    urodoc - 2018-07-16

    Opening an .xml file with first line "<?xml version="1.0" encoding="Windows-1252"?>" (config file for MS Flight Simulator X) gives xmltreeedit error window "In 'file:///C:/Users/h/Desktop/Standard%20-$20Copy.X... (line 1 pos 31): Encoding 'Windows-1252' is not supported. Press OK to ignore and risk data corruption. Press Cancel to kill the program." Pressing OK does nothing, xmltreeedit program remains blank.

     
  • Victor

    Victor - 2018-07-16

    Hi, It is not really a bug, but a limitation of the underlying XML libraries. They can only read and write with UTF-8 encoding, which is default for XML documents. You can try to make a copy of your config file and change encoding to encoding="UTF-8" in text editor, and see, if the Flight Simulator accepts this. If not, I think cannot use XML Tree Editor for editing.

     

Log in to post a comment.