This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Top Ten Java and XSLT Tips, #5
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Top Ten Java and XSLT Tips, #5
- From: Benjamin Franz <snowhare at nihongo dot org>
- Date: Fri, 31 Aug 2001 10:34:37 -0700 (PDT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
On Fri, 31 Aug 2001, Julian Reschke wrote:
>
> I'd have less problems with "good advice" like that if somebody could give a
> real-world example where   doesn't work properly.
The problem is with default character sets. If a browser doesn't use
either UTF8 or an ISO-8859-x encoding for its default, high bit characters
sometimes turn into either '?' or other nonsensical things. It is a very
common problem for non-latin character set people (especially for those
like Japanese having multi-byte encodings).
By generating an explicit entity rather than getting an inlined character
the problem doesn't appear so much (at least not in new browsers).
It is a real problem - it just doesn't affect latin character set people
very much.
--
Benjamin Franz
Programs must be written for people to read, and only
incidentally for machines to execute.
---Abelson and Sussman
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list