On Monday, March 14, 2005, 1:02:03 PM, Robin wrote:

RB> Chris Peto wrote:
>> I am loading a document with UTF-8, but none of the programs that I try,
>> i.e. XMLSpy, will accept it as UTF-8 unless the file starts with
>> "0xEF0xBB0xBF" before the <!xml...

RB> Any program that requires that in order to recognize UTF-8 is at
RB> best antiquated

not antiquated, see below.

RB> (there are some rare cases where for backcompat you might perhaps
RB> maybe want it, but generally not). Any program that pretends to know
RB> something about XML and that requires the UTF-8 is quite simply
RB> broken, and you can throw it away with the safe knowledge that it's
RB> a useless piece of junk. Somehow I wouldn't be in the least
RB> surprised to see XML Spy fall into that category...

As a simple glance at
http://www.w3.org/TR/REC-xml/#sec-guessing-no-ext-info will show.

Indeed, UTF-8 files never used to have a BOM, and indeed tools would
reject UTF-8 files with a BOM. Then Microsoft used a BOM to distinguish
unicode text files from platform/'ansi'(sic) files in Notepad, and it
was clarified that a BOM for UTF-8 files was legal and occasionally
useful.

Making it required is dumb. You mentioned that *none* of the programs
you tried would read it?


-- 
 Chris Lilley                    mailto:[EMAIL PROTECTED]
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to