Wouldn't it be much easier to pass your iso-latin-1 string in XML as an
argument?
Martin Pedak wrote:
> That was i affraid of. And if the encoding is other than utf-8, if the
> encoding is like iso-8859-1 and i pass values like "őüäö" then i get
> some weird chars, right ?
>
> So what is needed is that chars must be convertet to the utf-8 if it is
> not. Can you use iconv for this? Determine at first, in wich encoding
> string is and then encode it to utf-8 ?
>
> Pavel Hlavnicka wrote:
>
> >
> > utf-8
> >
> > sorry for the delay. Generally there is no other choice, I guess. The
> > first idea I had after reading your mail was, that parameter could be
> > processed in the same encoding as the stylesheed it is refered from, but
> > xsl:include disallows this approach.
> >
> > Pavel
> >
> > Martin Pedak wrote:
> >
> >> Hi.
> >>
> >> I posted some weeks ago one question where i asked about encodings of
> >> the parameters, but nobody answered...
> >>
> >> So question remains. In wich encoding sablotron reads parameters &
> >> parameter values?
> >
> >
> >
> >
>
> --
> -------------------
> Martin Pedak
> OÜ Webmedia
> Tel: +372 7 441583
> GSM: +372 50 68531
--
Petr Cimprich
Ginger Alliance
www.gingerall.com