branch4 Blog

Internet development with every single possibility.

[XML] There Is No Unicode Byte Order Mark. Cannot Switch to Unicode.

| Comments

Tried to open a xml file with XMLEDITOR.NET.

And the following error occured.
  There is no Unicode byte order mark. Cannot switch to Unicode.
I checked the xml file, and fixed the line which said,
  <?xml version="1.0" encoding="utf-16"?>
  <?xml version="1.0" encoding="utf-8"?>
wrong : utf-16
correct: utf-8

And now I could open it.