[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Wednesday, March 28, 2001 3:50 PM Subject: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|