This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: CJK UTF-16 test


I can tell you that your byte-order mark is the wrong way round for the
majority of your file (should be 0xFE 0xFF not 0xFF 0xFE). I don't know
about your data bytes though.

Dave Hartnoll.

----- Original Message -----
From: "Peter Flynn" <peter@silmaril.ie>
To: <xsl-list@lists.mulberrytech.com>
Sent: Wednesday, March 28, 2001 3:50 PM
Subject: [xsl] CJK UTF-16 test


> A friend has just thrown me something containing eight bytes which
> (I am assuming) are four Unicode characters. To test this I have
> constructed (manually) a 2-line XML file with what i believe to be
> a correct byte-order mark, and an XML Declaration and one
> element containing these 8 bytes (eg NUL < NUL ? NUL x NUM m NUL l etc).
>
> Before I try to write the world's most minimal stylesheet :-) could
> someone with a clue have a look at the file and say yea or nay to its
> well-formedness, as I don't have any parser that will swallow UTF-16.
> It's at ftp://oimelc.ucc.ie/pub/foo.xml (to defeat my http server,
> which runs
> Cocoon, which gags on this file :)
>
> ///Peter
>
>
>
>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]