I think I built Xerces with ICU support. However, I'm going to re-build it
again with correct versions of all packages.
Previous versions (Xerces 1.5.1 + Xalan 1.2 + ICU 1.8.1) worked with KOI8-R
just fine, though there were problems with windows-1251.
Anyways, thanks for the hint!

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


-----Original Message-----
From: David N Bertoni/CAM/Lotus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 23, 2002 7:58 PM
To: [email protected]
Subject: Re: Xalan-C++ and ICU question



You can enable _lots_ of encodings by rebuilding Xerces to use the ICU for
transcoding.  See the documentation for more information.

You can also enable format-number() and real collation support for xsl:sort
by rebuilding Xalan to use the ICU.  Again, see the documentation for more
details. However, you'll need to upgrade to ICU 2.0, since that's the
supported version.

If you've already built Xerces to use the ICU for transcoding, then perhaps
that encoding is not supported by the ICU, which would surprise me.

Dave




                      "Dimitry
                      Chernyshov"              To:
<[email protected]>
                      <[EMAIL PROTECTED]         cc:      (bcc: David N
Bertoni/CAM/Lotus)
                      n.ru>                    Subject: Xalan-C++ and ICU
question

                      01/23/2002 05:39
                      AM





Hi!

We're using Xalan-c1_3 + Xerces-c1_6_0 + ICU 1.8.1.
I'm trying to transform an XML document with <?xml version="1.0"
encoding="KOI8-R"?> heading using XSL sheet with <xsl:output method="html"
encoding="windows-1251"/> xsl:output tag. Xalan raises the following error:

An exception occured! Type:TranscodingException, Message:Could not create a
converter for encoding: KOI8-R

Though if the XML document encoding is, say, "ISO-8859-1" and XSL encoding
is "UTF-8" - everything works fine...

Looks like ICU has no KOI8-R support or I'm doing something wrong...

Any help would be greatly appreciated!!

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







Reply via email to