[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Problem with encoding UTF-8

Subject: Re: Problem with encoding UTF-8
From: "David at roamware" <david@xxxxxxxxxxxxxx>
Date: Wed, 15 Dec 2004 18:46:14 -0000
roamware
As I mentioned I am using XercesImpl from 31st July 2003. Both files have
0xFF 0xFE at the start of them.

I compared them at byte level, apart from crappy formating (LF before every
'>') the PDF file had an extra pair of nulls on the end. When I changed my
code to strip them it all worked. i.e. Adobe Acrobat is putting a pair of
nulls after the closing tag. Just a case of a $1.2Bn company proving they
should maybe stick to Graphic Designers as clients ;)

Thx.

David

-----Original Message-----
From: Michael Kay [mailto:mike@xxxxxxxxxxxx]
Sent: 15 December 2004 17:45
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Problem with encoding UTF-8


> If so, you have a
> UTF-8 BOM in your file. You have to get rid of it, or switch
> to Saxon (or something else?)..

Whether or not Saxon accepts a BOM depends on the XML parser you are using.
Xerces accepts the BOM, Crimson does not.

Michael Kay
http://www.saxonica.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.