[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] 16-bit entities converted to "?" by XSLT
Subject: RE: [xsl] 16-bit entities converted to "?" by XSLT From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Sun, 7 Dec 2008 10:05:12 -0000 |
> My browser shows this correctly, but when I embed it in some > XML and run it though my stylesheet, the output is this: > > <span style='font-size: 11pt; font-family: Arial;' lang='HE'> > ???? > </span> > When you say the output "is" this, I suspect you mean the output "looks like" this, when displayed using some piece of software to some output device. Are you sure that piece of software and that output device are capable of rendering Hebrew characters correctly? Because it's very likely that the XSLT output is correct, but can't be displayed the way you are trying to display it. If you want to avoid such problems, one way is to use <xsl:output encoding="iso-8859-1"/> which will force Hebrew characters to be output as numeric character references, similar to the way they appeared in your input. Michael Kay http://www.saxonica.com/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] 16-bit entities converted, Martin Honnen | Thread | Re: [xsl] 16-bit entities converted, John English |
Re: [xsl] [Ann (sort of)] ODF 1.2 t, Dave Pawson | Date | RE: [xsl] Problem with < and >, Michael Kay |
Month |