Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] UTF-8 URL encoding with XSLT 1.0

From: "Martynas Jusevicius" <martynas.jusevicius@--------->
To:
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
&#8212; (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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent