Hmm, It does not look good. Your OS does not return proper information about codeset. Following code is broken:

        setlocale(LC_CTYPE, ctype);
        sys = nl_langinfo(CODESET);
        sys = strdup(sys);

See
http://www.opengroup.org/onlinepubs/009695399/functions/nl_langinfo.html

It seems you need to fix OS first. After that we can add CODESET mapping to PostgreSQL.

                Zdenek


Harvey, Allan AC napsal(a):
Zdenek

Thanks for your reply.

I guess we don't have locale mapping for SCO OpenServer5.7. See http://doxygen.postgresql.org/chklocale_8c-source.html

Browser Timed out. (?)

Could you run following code:
http://archives.postgresql.org/pgsql-hackers/2007-09/msg01168.php

and send output.

        Zdenek

Output as requested:

bash-2.05$ for LOCALE in `locale -a`; do locale_test $LOCALE; done
C_C.C                   ...            - NO MATCH
cs_CZ.ISO8859-2         ...            - NO MATCH
english_uk.ISO8859-15   ...            - NO MATCH
english_uk.8859         ...            - NO MATCH

<snip>

--
Zdenek Kotala              Sun Microsystems
Prague, Czech Republic     http://sun.com/postgresql


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to