Re: [xsl] output encoding="iso-8859-1"

Subject: Re: [xsl] output encoding="iso-8859-1"
From: Mike Brown <mike@xxxxxxxx>
Date: Tue, 5 Jun 2001 14:19:20 -0600 (MDT)
Yes, all your points are correct.

> My conclusion for now is that the safest way to do manage content with
> international characters is to use the character references

Yes, it's safest in that by only using non-ASCII characters by reference,
your document is at a low level 100% ASCII and thus can be misinterpreted
as being in pretty much any encoding (a few obscure ones notwithstanding).

One of the features of XML, though, is that there are relatively
unambiguous rules for determining the encoding, and for declaring it,
so that this shouldn't be necessary. Of course, your system is only as 
strong as its weakest link, so if you have some unknown factor like 
a web browser's dubious mechanisms for encoding and transmitting the text 
input in an HTML form, you cannot reliably process the data without making 
some dangerous assumptions.

   - Mike
mike j. brown, software engineer at  |  xml/xslt: in denver, colorado, USA    |  personal:

 XSL-List info and archive:

Current Thread