RE: translating between character sets

Subject: RE: translating between character sets
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 17 Oct 2000 15:05:47 +0100
> So, in the input, I use entities for umlauts, which I want
> to be umlauts in the output. Example:
> 
> input	output
> --------------
> &auml;	ä
> &ouml;	ö
> &uuml;	ü
> &szlig;	ß
> 
> How would I achieve this mapping?

You cannot control what representation the processor will use for these
characters; the only thing you can be sure of is that it will use one of the
many (correct and equivalent) ways of representing them within the character
encoding requested.

For example, with HTML output the processor has a free choice whether to
output &auml; or ä or &#xe4; or &#228; They all mean the same thing so you
aren't supposed to care (but yes, I know that there are situations where you
might).

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread