Re: XmlDocument and utf-8

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Yes. No.


"MaxMax" <none@xxxxxxxx> wrote in message news:P_Oci.39863$U01.439560@xxxxxxxxxxxxxxxxxxxxx
A question: all the XML files I've seen use this declaration:

<?xml version="1.0" encoding="UTF-8"?>

BUT files created using XmlDocument have:

<?xml version="1.0" encoding="utf-8"?>

(you see? lowercase UTF)

I've even tried "manually correcting" the utf to UTF with notepad and then opening with XmlDocument and saving.

Are they equivalent? Am I doing something wrong?

--- bye


.



Relevant Pages

  • XmlDocument and utf-8
    ... A question: all the XML files I've seen use this declaration: ... BUT files created using XmlDocument have: ... I've even tried "manually correcting" the utf to UTF with notepad and then ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Can I upload Perl program in unicode?
    ... something like Notepad that warns you about saving in utf or not. ... you don't save in utf the characters go away. ... Mabye perl is choking on that BOM. ...
    (comp.lang.perl.misc)
  • Re: case-sensitivity
    ... I do not doubt that notepad does accept UTF input, ... an US/European keyboard. ...
    (comp.lang.scheme)
  • How to programatically default the encoding of my "Notepad" into ANSI in c#
    ... How do I programatically default the encoding of my "Notepad" into ANSI. ... have UTF as the default encoding in their notepad. ...
    (microsoft.public.dotnet.languages.csharp)