xerces-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georg Huettenegger <ge...@ist.org>
Subject addition of another fgUTF16EncodingStr
Date Thu, 02 Aug 2001 16:30:01 GMT
i would like to suggest to add another UTF16EncodingStr to XMLUni.hpp/cpp
so that it correctly handles the following encoding:
iso-10646-ucs-2
which is what is returend by the xml database tamino if asked for utf-16.

i already did the change for myself and it worked without any problem. i
added:

static const XMLCh fgUTF16EncodingString5[];

to XMLUni.hpp

const XMLCh XMLUni::fgUTF16EncodingString5[] =
{
    chLatin_I, chLatin_S, chLatin_O, chDash, chDigit_1, chDigit_0,
    chDigit_6, chDigit_4, chDigit_6, chDash, chLatin_U, chLatin_C,
    chLatin_S, chDash, chDigit_2, chNull
};

to XMLUni.cpp
and:

        ||  !XMLString::compareIString(newEncoding, 
                                       XMLUni::fgUTF16EncodingString5))

to XMLReader.cpp just after the occurence of:
fgUTF16EncodingString4

hope to see this addition in xerces-c 1.6.0

bye,
 georg


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


Mime
View raw message