Re: Problem of a server gettext message.

From: "Zeugswetter Andreas ADI SD" <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Cc: "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Problem of a server gettext message.
Date: 2007-12-11 09:54:00
Message-ID: E1539E0ED7043848906A8FF995BDA579029CA3D5@m0143.s-mxs.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> > GetText is conversion po(EUC_JP) to SJIS.

Yes.

> Are you sure about that? Why would gettext be converting to SJIS,
when
> SJIS is nowhere in the environment it can see?

gettext is using GetACP () on Windows, wherever that gets it's info from
...
"chcp" did change the GetACP codepage in Hiroshi's example, but chcp
does not reflect in LC_*

Seems we may want to use bind_textdomain_codeset.

Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Akinde 2007-12-11 09:59:59 VACUUM ANALYZE out of memory
Previous Message Magnus Hagander 2007-12-11 09:00:22 Re: buildenv.pl/buildenv.bat