This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: UNICODE problem


I'm 0 for 2 today.

I wrote:
> 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.

Add to that:  ..but that's OK, because your XSLT processor should be smart
enough, when outputting html or xml, to write any characters that are beyond
the iso-8859-1 range as numeric character references or as character entity 
references.

   - 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]