It's not as much for editing XML, which I use a different editor for.

But more to verify what is being displayed in IE is what was sent, since IE 
tweeks and consolidates XML
   Before it displays it during it's validation.   (ie.   it will change 
<test></test> to <test />

I use IE for because it's quicker to test xml files that are not local to the 
computer and are online.

George

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Aaron Titus
Sent: Friday, May 09, 2014 10:15 AM
To: U2 Users List
Subject: Re: [U2] [OT] My XML is Chinese!?!

I suspect I know what is happening, though I can't tell you WHY.

The view source function is using an encoding that doesn't match your
actual file. For example the view source may think its using UTF-16 for
some reason, but since its really using UTF-8 the characters are all
mangled.  Its just a guess.  I would recommend saving the file to disk and
the  use another editor like notepad++ which can tell you what the file
encoding is.  This is likely just a bug in IE 11.

There are so many better editors out there for xml data, I would just use
one of those instead.





On Fri, May 9, 2014 at 10:05 AM, George Gallen <[email protected]>wrote:

> OK....I've got a strange thing happening on my Win 7 IE 11
>
> If I use IE 11 to open an XML file - it renders fine - no problems.
> BUT...if I right click and choose View Source - all I see are Chinese
> characters?
>
> I know the XML is plain text and no extended codes
>
> And it only happens on my machine, if I use another PC same setup (except
> IE 9)
>    It shows English when you view Source
>
> HTML renders fine, and View Source for HTML displays English.
>
> My XML declaration line looks like:
>
> <?xml version="1.0" encoding="utf-8" ?>
>
> Firefox view source displays English,  as does Chrome and Safari - It's
> just IE11 doing it.
>
> Any Ideas?
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to