I have no access to compiler, editor, or CVS since I'm
travelling overseas but here is *exactly* what to
change to fix
http://bugzilla.abisource.com/show_bug.cgi?id=1101
Can somebody please do this before 1.0 for me?
I apologize for not being able to fix it directly.

In the file:
abi/src/af/util/xp/ut_Encoding.cpp  starting at line#
81

Add a 3rd entry to each of these lines with "8859-n"
where "n" is the number of the encoding used by the
other entries in the same line which have the prefix.

For instance:
static XML_Char * enc_8859_1[]  =
{"ISO-8859-1","ISO_8859-1","LATIN1","L1",0};

becomes:
static XML_Char * enc_8859_1[]  =
{"ISO-8859-1","ISO_8859-1","8859-1","LATIN1","L1",0};

static XML_Char * enc_8859_2[]  =
{"ISO-8859-2","ISO_8859-2","LATIN2","L2",0};
//static XML_Char * enc_8859_3[]        =
{"ISO-8859-3","ISO_8859-3","LATIN3","L3",0};
static XML_Char * enc_8859_4[]  =
{"ISO-8859-4","ISO_8859-4","LATIN4","L4",0};
static XML_Char * enc_8859_5[]  =
{"ISO-8859-5","ISO_8859-5","CYRILLIC",0};
static XML_Char * enc_8859_6[]  =
{"ISO-8859-6","ISO_8859-6","ECMA-114","ASMO-708","ARABIC",0};
static XML_Char * enc_8859_7[]  =
{"ISO-8859-7","ISO_8859-7","ECMA-118","ELOT_928","GREEK8","GREEK",0};
static XML_Char * enc_8859_8[]  =
{"ISO-8859-8","ISO_8859-8","HEBREW",0};
static XML_Char * enc_8859_9[]  =
{"ISO-8859-9","ISO_8859-9","LATIN5","L5",0};
//static XML_Char * enc_8859_10[]       =
{"ISO-8859-10","ISO_8859-10","LATIN6","L6",0};

//static XML_Char * enc_8859_15[]       =
{"ISO-8859-15","ISO_8859-15",0};


Note that Solaris doesn't seem to support encodings
13, 14 & 16 but it would not hurt to "fix" those too.

Andrew Dunbar.


=====
http://linguaphile.sourceforge.net http://www.abisource.com

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Reply via email to