Dave's Brain

Browse - computer tips - junk at start of xml file

Date: 2007Jan12

Q.  What are those weird binary bytes at the start of my XML file?

A.  They indicate the encoding of the file.
The common encoding are: UTF-7, UTF-8, UTF-16 Little or Big Endian.
Since all our files are UTF-8 this is unnecessary and it may even confuse some programs.

More Info:
http://en.wikipedia.org/wiki/Byte_Order_Mark
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.