-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm no expert on character-encoding issues, but did you try looking at the output in a Hex editor? Make sure that the sequence for the '?' is actually 0x3f before blaming Xalan.
Since you are using a character entity in the source doc, it seems unlikely that your text editor for the source could be the cause, and since the output encoding is UTF-8 it seems unlikely that the character is lost on output. My guess is that the editor you are using to view the output either just doesn't understand UTF-8 or doesn't have a font that includes the offending characters. On Wednesday 29 May 2002 03:19, Cameron McCormack wrote: > And when I run the program like this: > > $ java test > output.xml > > my output.xml contains: > > <?xml version="1.0" encoding="UTF-8"?> > <test>abc?xyz</test> > > What's going on here? - -- Peter Davis -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE89LFvNSZCJx7tYycRAlFNAJ91JOLN31ZDpm8MOWOrXTVXDigSFQCffq7j QyU9pIm9K2kr2JEtZnGcqjU= =t9Ti -----END PGP SIGNATURE-----
