Mailing List Archive

EmbperlLibXSLT and utf-8
Can somebody answer me how I have to configure apache or embperl for
converting XML-> HTML?
(Freebsd4.9, Apache1.3.12 + default charset koi8,
Embperl2.2+libxml2+libxslt)

I have dump.xml file with UTF-8 encoding and I have to convert it to HTML
file with koi8 charset.
When I execute embperl processing:
[.- Execute ({inputfile => 'dump.xml', recipe => 'EmbperlLibXSLT',
xsltstylesheet => 'dump.xsl'}) ; -]
I get such message if I have any "koi8" characters in dump.xsl file.
"Input is not proper UTF-8, indicate encoding !"

What I have to configure for inserting koi8 to xsl file?

Thank you

Andrew

PS. I checked my libxml2 library is compiled with iconv library


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: EmbperlLibXSLT and utf-8 [ In reply to ]
Hi,

I am not an xml specialist, but if I remeber correctly, your <?xml ...
?> tag at the beginning of the document should contain a charset
declaration to make it working

Gerald


------------------------------------------------------------------------
--
Gerald Richter ECOS electronic communication services GmbH
******************* SECURING YOUR NETWORK ********************

Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.BB-5000.info Fax: +49 6133 939-333

Sitz der Gesellschaft: Dienheim; AG Mainz HRB 6889; GF: W.Heck,
G.Richter
------------------------------------------------------------------------
--



> -----Original Message-----
> From: Andrew [mailto:aa@infonn.ru]
> Sent: Tuesday, April 10, 2007 5:09 PM
> To: embperl@perl.apache.org
> Subject: EmbperlLibXSLT and utf-8
>
> Can somebody answer me how I have to configure apache or
> embperl for converting XML-> HTML?
> (Freebsd4.9, Apache1.3.12 + default charset koi8,
> Embperl2.2+libxml2+libxslt)
>
> I have dump.xml file with UTF-8 encoding and I have to
> convert it to HTML file with koi8 charset.
> When I execute embperl processing:
> [.- Execute ({inputfile => 'dump.xml', recipe =>
> 'EmbperlLibXSLT', xsltstylesheet => 'dump.xsl'}) ; -] I get
> such message if I have any "koi8" characters in dump.xsl file.
> "Input is not proper UTF-8, indicate encoding !"
>
> What I have to configure for inserting koi8 to xsl file?
>
> Thank you
>
> Andrew
>
> PS. I checked my libxml2 library is compiled with iconv library
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
> ** Virus checked by BB-5000 Mailfilter **
> !DSPAM:416,461baae6325707333517638!
>
>

** Virus checked by BB-5000 Mailfilter **

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org