Subject: Re: [xsl] UNICODE problem From: Mike Brown <mike@xxxxxxxx> Date: Fri, 7 Jun 2002 12:13:01 -0600 (MDT) |
nrashidi wrote: > I am having a problem when i run my stylesheets. for § i am getting § > as oppose to § You are getting 2 bytes, which is the correct representation of that character in UTF-8, versus 1 byte, which is what your output document viewing environment (UTF-8 unaware text editor, terminal window, browser with wrong encoding set, whatever) is expecting. If you really don't want UTF-8 output, specify a different encoding in your xsl:output: <xsl:output method="html" encoding="iso-8859-1"/> Of course this will limit you to the XML-supported subset of the 256 characters allowed by iso-8859-1, whereas utf-8 gives you the XML-supported subset of some 1.1 million characters. - Mike ____________________________________________________________________________ mike j. brown | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | resume: http://skew.org/~mike/resume/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] UNICODE problem, nrashidi | Thread | Re: [xsl] UNICODE problem, Mike Brown |
RE: [xsl] Newbie: See if a node exi, Americo Albuquerque | Date | Re: [xsl] xsl: using attribute valu, Joerg Heinicke |
Month |