Re: Problem of a server gettext message.
От | Hiroshi Saito |
---|---|
Тема | Re: Problem of a server gettext message. |
Дата | |
Msg-id | 09a301c83bba$6eb216e0$c601a8c0@HP22720319231 обсуждение исходный текст |
Ответ на | Problem of a server gettext message. ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>) |
Список | pgsql-hackers |
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 по дате отправления: