OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] baffling encoding problem

[ Lists Home | Date Index | Thread Index ]

In article <1107953143.420a05f800548@horde.scannet.dk> you write:
>The instance has a declared encoding of UTF-8 and a BOM
>of UTF-8 (EF BB BF).
>When I open it in 010 editor, the hex editor i use, it shows 42F8 726E
>6568 6176 6 which that's right isn't it? I copy that I get BÝrnehave. 

That "F8" is the Latin-1 code for o-with-stroke.  So it appears that your
document is not in UTF-8 but in Latin-1.  Change the encoding declaration
to "iso-8859-1".

The applications that show it correctly are doing so because they are
ignoring the declared encoding, and assuming that it's Latin-1 (or
some proprietary Windows character set vaguely related to Latin-1).

-- Richard


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS