encoding incompatibilities between XT and XP in FOP

Chris Maden crism at oreilly.com
Thu Jul 29 17:50:34 BST 1999

[James Tauber]
> I stepped through the code and it appears XP is treating it as
> big-endian UTF-16. By the time XP is reading off its buffer of
> bytes, they are 0x00 0xE2 0x20 0xAC 0x00 0xA2.

What is XP using to read the file?  You mentioned you were using
Microsoft's Java implementation; I suspect that the problem is there.
The conversion of 0x80 to 0x20AC makes me very suspicious, because the
use of 0x80 for Euro is a relatively recent Windows codepage change,
so I'm inclined to suspect the Microsoft Java implementation.

<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

More information about the Xml-dev mailing list