Re: [xsl] &#160 appearing as ? in FF and IE

Subject: Re: [xsl] &#160 appearing as ? in FF and IE
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Mon, 11 Sep 2006 15:30:06 +0100
On 9/11/06, Steve <subsume@xxxxxxxxx> wrote:
Can anything be done?

I have floating spans which require some content if they're width is
to be respected. In case the value-of is "", then I'd like it to fall
back by having an &#162; after it, but its appearing as a junk
character.

Specify the correct encoding in the <meta> tag in your HTML (likely to be UTF-8)


Alternatively use an output encoding of US-ASCII in your transform to
force the serializer to output the character reference instead of the
character itself.

The "junk" you can see is the first byte in the two byte UTF-8
sequence - the first byte tells the reader there are two bytes, the
second byte in combination with the first is the character.

http://en.wikipedia.org/wiki/UTF-8

cheers
andrew

Current Thread