Re: [xsl] Re: replace() and translate() second try

Subject: Re: [xsl] Re: replace() and translate() second try
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 05 Jun 2011 10:12:33 +0100
where w, x, y and z are supplementary characters, I find (using saxonhe9-3)
that it works if the supplementary characters are indicated with the hex-escape
&#xHHHHHHHH; notation, but _not_ if the supplementary characters are simply typed in
using a Unicode-savvy text editor that handles supplementary characters.

This means that your Unicode-savvy text editor isn't savvy enough, and is getting it wrong. Perhaps it isn't savvy enough to ensure that the encoding it uses when saving the file is consistent with the XML declaration at the start of the file.


Michael Kay
Saxonica

Current Thread