Re: UTF-8 encoding failure

Поиск
Список
Период
Сортировка
От Takahiro Itagaki
Тема Re: UTF-8 encoding failure
Дата
Msg-id 20100326110648.9F68.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: UTF-8 encoding failure  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Ответы Re: UTF-8 encoding failure
Список pgsql-bugs
"Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> wrote:
> Probably it is not a bug.
>
> Testing with encoding UTF-8:
> NOTICE:  CREATE TABLE will create implicit sequence "蝗帛ョ誉gid_seq" for serial column "蝗帛ョ・gid"
> Testing with encoding SJIS:
> NOTICE:  CREATE TABLE will create implicit sequence "四宗_gid_seq" for serial column "四宗.gid"

> From: "Martin Schafer" <Martin.Schaefer@cadcorp.com>
> - UTF8: does not return the same column name used to create the table.

Yeah, there are no encoding problems in libpq and postgres, but you need
to print NOTICE messages in the same codepage with your console.
You probably need to replace routines to display NOTICE messages in libpq.
PQsetNoticeReceiver() would be a help.

Or, you could just change the codepage of your console to UTF-8.
However, there is a known problem in Windows console that console with
UTF-8 codepage cannot display any kanji characters. I'm not sure
what we can do to fix it ... some font settings in the registory?

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #5389: Column order on dump/reload broken from defined setof function
Следующее
От: Martin Schäfer
Дата:
Сообщение: Re: UTF-8 encoding failure