Subject: AW: Missing byte-order mark problem
From: Markus Abt <abt@xxxxxxxx>
Date: Sun, 3 Aug 2003 18:04:37 +0200
|
Hi Vivek,
if you wan't to use UTF-8 or UTF-16, you have to use an editor which supports it.
Simply setting the encoding declaration to "utf-8" or "foobar" doesn't change the
encoding of the document (unless your editor is very smart).
Regards,
Markus
__________________________
Markus Abt
Comet Computer GmbH
http://www.comet.de
----------
Von: Vivek Shinde
Gesendet: Sonntag, 3. August 2003 17:04
An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Betreff: Missing byte-order mark problem
Hi Folks,
For last two days I was struggling with a problem of applying a XSL stylesheet to XML that had Danish characters (using entities like ø etc.). The output=HTML was working fine but when I tried to get text output I kept getting "Missing byte-order mark". I tried it with encoding of UTF-8 as well as UTF-16, it did not work. Finally I found a listing on google from this group from way back in 2002 http://www.xslt.com/xsl-list/2002-02/msg00675.html and it suggested to use encoding="iso-8859-1" and walla...it worked.
This is just for your information if anyone gets frustrated with similar problem.
Thanks
Vivek
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|