From: "Tom Lane" <tgl@sss.pgh.pa.us> > Are you sure about that? Why would gettext be converting to SJIS, when > SJIS is nowhere in the environment it can see? I believe that Peter's > hypothesis is that gettext is leaving the string in EUC_JP because > it sees locale = C and so has no basis for doing any conversion. > > We still end up with a failure, because the basic problem is that the > string isn't UTF8, but it's important to be sure we understand the exact > mechanism. Um, It is a simple GetText program. http://winpg.jp/~saito/pg83/message_check/gtext.c for example.. http://winpg.jp/~saito/pg83/message_check/gettext_932.png http://winpg.jp/~saito/pg83/message_check/C_message.txt http://winpg.jp/~saito/pg83/message_check/Non_message.txt http://winpg.jp/~saito/pg83/message_check/UTF8_message.txt http://winpg.jp/~saito/pg83/message_check/Japanese_message.txt All are SJIS outputs. However, chcp 1252 http://winpg.jp/~saito/pg83/message_check/gettext_1252.png Regards, Hiroshi Saito
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных