On 01/07/01, Alexander Grimalovsky <[EMAIL PROTECTED]> wrote:

> Hi, xalan-dev!
>
> I tried to use Xerces-C and Xalan-C and found them most suitable to my
needs.
> I want to thank all of you for these cool programs!
> But one thing is still missed in Xerces: it doesn't has internal support
for
> any cyrillic codepage. The most widely used cyrillic codepage is
windows-1251
> and I add support for this code page to Xerces-C and Xalan-C and want to
submit
> my changes to you.
> Attached archive contain files, modified by me, changes are marked by:
>
> // Added by Flying
> or
> // Removed by Flying
>
> comment. I add two files to Xerces-C project:
>
> util/XMLWin1251Transcoder.cpp
> util/XMLWin1251Transcoder.hpp

xerces-dev is a dead list.  You should subscribe to xerces-c-dev instead.
I've forwarded this message to the list.

As far as including this as an internal encoding, I'm not sure it's
practical -- but I'll leave that to the Xerces team to decide.

>  Xalan-C has one important change:
> file XMLSupport/FormatterToHTML.cpp, function
FormatterToHTML::writeAttrString()

> Old code was a bit wrong, because it always wrote all chars with Unicode
code
> above SPECIALSSIZE (=0xFF) as escaped chars. It works fine for code pages
with
> m_maxCharacter = 0xFF, but cyrillic symbols has Unicode codes of about
0x04xx
> and in this case are always wrote as escaped chars. Modified code works
fine.
>
> These changes are made for Xerces-C v1.3.0 and Xalan-C v1.0 and I hope,
that
> you'll add my changes to your code.

I'll take a look at your changes and see about incorporating them.

Thanks,

Dave

Reply via email to