Encoding

ta5ta5 Member Posts: 1,164
Hello

Writing a textfile from navision creates a file in ascii format, for example the german ü (u umlaut) is written as dec129. No suprise for that.

My question is now for a file created with navision using dom. If I open such a file with my hex editor, the german ü is visible as dec195+dec188 which looks for me like unicode.
Actually this is what I want (writing a utf-8 xml file created with dom), but it's not clear to me why it is not created in ascii format.
Note 1: when used the dom, no processing instruction was specified.
Note 2: I'm using 'Microsoft XML, v6.0'.DOMDocument60

Thanks in advance
Thomas

Comments

  • ta5ta5 Member Posts: 1,164
    nobody?
    any input on this is very appreciated.
    thanks
    thomas
  • ara3nara3n Member Posts: 9,256
    xml documents are formated in UTF-8 and UTF-16.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • ta5ta5 Member Posts: 1,164
    Thanks Rashed. Actually everything is ok, but I was surprised by the fact that xmldom6 created the encoding by itself.
Sign In or Register to comment.