Harvey, Allan AC wrote:
>> Do you use system libc or glibc? You can try create own
>> locale by localedef and
>> test what happen.
>
> I think it would have to be glibc as I used the gcc loaded with the
> "skunkware" tools that SCO provide.
gcc may be, and often is, used with the system libc.
Zdenek,
> Harvey, Allan AC napsal(a):
> > Zdenek,
> >
> >> 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);
> >>
> >>
Harvey, Allan AC napsal(a):
Zdenek,
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/0096
Harvey, Allan AC wrote:
Zdenek,
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/00969539
Zdenek,
>
> 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/function
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 see
I guess we don't have locale mapping for SCO OpenServer5.7. See
http://doxygen.postgresql.org/chklocale_8c-source.html
Could you run following code:
http://archives.postgresql.org/pgsql-hackers/2007-09/msg01168.php
and send output.
Zdenek
Harvey, Allan AC napsal(a):
During an upgrade
During an upgrade from 7.4.5 to 8.3.3 the following was dumped during the
restore process from psql.
psql:roperydb_v7.4_20081021.dmp:49: WARNING: could not determine encoding for
locale "C_C.C": codeset is ""
DETAIL: Please report this to .
So I am reporting it.
Back ground.
I am using 8.3.3