xsl-list
[Top] [All Lists]

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

2007-06-02 02:34:02
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(_dot_)bryan(_at_)gmail(_dot_)com> 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(_dot_)jusevicius(_at_)gmail(_dot_)com> 
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>