Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - [xsl] UTF-8 URL encoding with XSLT 1.0 [Thread Next] Re: [xsl] UTF-8 URL encoding with XSLT 1.0To: Date: 6/2/2007 9:34:00 AM That is what I did in the first place. But still, I don't think it can encode characters outside the ASCII range. In my input I have a — (n-dash), and the stylesheet gives me warning: "String contains a character that is out of range! Substituting "?"". I think it also says that in the comments, if I get it right. Martynas On 6/2/07, bryan rasmussen <rasmussen.bryan@xxxxxxxxx> wrote: you need to change the xsl:output encoding attribute to be utf-8 for it to output utf-8. in the referenced stylesheet it is currently iso 8859-1 cheers, bryan rasmussen On 6/2/07, Martynas Jusevicius <martynas.jusevicius@xxxxxxxxx> wrote: > Hi, > > is there a stylesheet somewhere to encode URLs in XSLT 1.0? > So far I'm using one from http://skew.org/xml/stylesheets/url-encode/ > , but it looks like it cannot handle UTF-8. > > Martynas | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
