hi, sorry for third one, but there is a problem with the last part of the
mail.
from encoding.cpp:
short EncTable1250[] =
{    0x20ac,     -1, 0x201a,     -1, 0x201e, 0x2026, 0x2020, 0x2021,
...
};
short EncTableLatin2[] =
{
        -1,     -1,     -1,     -1,     -1,     -1,     -1,     -1,...
    0x00a0, 0x0104, 0x02d8, 0x0141, 0x00a4, 0x013d, 0x015a, 0x00a7,..
};

void* encInternalOpen(const Str& enc, Bool toUTF8)
{
    if (!toUTF8)        return (void*)-1;
    if (enc.eqNoCase("ISO-8859-2"))        return EncTableLatin2;
    else if (enc.eqNoCase("windows-1250"))        return EncTable1250;
    // more builtin conversions can come here
    else return (void*)-1;
}
there is no EncTableLatin5 or anything else for iso8859-9. should it be the
problem??
yavuz

Reply via email to