You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Björn Tietjens <bj...@alfa.de> on 2007/10/25 13:38:08 UTC
xalanc at the cmd not using the right encoding
Hello,
i am trying to do the following with xalanc:
xalan -t -v -e iso-8859-5 -o outfile xmlfile xslfile
and the encoding of the xmlfile is UTF-8
that is I want to make a transformation and safe the output in
iso-8859-5 encoding.
The transformation works fine but for some reason the new encoding
doesn't work.
Can anyone tell me what else to consider ?
cheers bjoern
This email was Anti Virus checked by Astaro Security Gateway when passing alfa firewall
Re: xalanc at the cmd not using the right encoding
Posted by David Bertoni <db...@apache.org>.
Björn Tietjens wrote:
> Hello,
>
> i am trying to do the following with xalanc:
>
> xalan -t -v -e iso-8859-5 -o outfile xmlfile xslfile
>
> and the encoding of the xmlfile is UTF-8
>
> that is I want to make a transformation and safe the output in
> iso-8859-5 encoding.
>
> The transformation works fine but for some reason the new encoding
> doesn't work.
It's probably happening because Xerces-C doesn't support ISO-8859-5 without
building with the ICU transcoding service. You might try ISO-8859-1 which
_is_ supported in the standard configuration. If that works, then it's
because the encoding isn't supported.
If you don't see a warning, you could file a Jira issue asking to have one
added.
Dave