Hi!

After I re-built Xalan-c1_3 + Xerces-c1_6_0 + ICU 2.0, Xalan works good with
different encodings.
Though, I've encountered one pretty strange problem.

If an XSL file has xsl:output encoding set to "windows-1251" (<xsl:output
method="html" encoding="windows-1251"/>) while transforming some XML, the
result contains character codes instead of the characters themselves. E.g. :

<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=windows-1251">
<title>&#1058;&#1080;&#1087;&#1072; &#1074;&#1080;&#1085;&#1076;&#1099;
&#1073;&#1083;&#1080;&#1085;!</title>

However, if a source XML has "windows-1251" encoding and XSL file has
encoding set to, say, KOI8-R - everything works just fine: Xalan (ICU, I
guess) transforms win-1251 to KOI8-R correctly...

Any thoughts?

Thanks in advance,
Dimitry Chernyshov,
Technology Group Managing Director,
Polar Design
--------------------------
[EMAIL PROTECTED]
http://www.polardesign.com
phone/fax: +7 (095) 363 0708

Reply via email to