From: | "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
---|---|
To: | Martin Schäfer <Martin(dot)Schaefer(at)cadcorp(dot)com>, "'Takahiro Itagaki'" <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
Cc: | <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: UTF-8 encoding failure |
Date: | 2010-03-30 17:30:06 |
Message-ID: | FEB6F18C955B497FB3729BA749DCB278@acer08f817a9b5 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Hi.
Ummm, it is very strange....
Can you do chcp command?
C:\home\HIROSHI>chcp 932
現在のコード ページ: 932
Anyway, I want to prepare and check the same environment as you.
It may be that there is a shortage of environment for changing some.
the following things , but, It is hard to consider a problem...
http://download.microsoft.com/download/6/2/e/62e61f10-e106-4f4c-a862-63eec2b41efb/readme.htm
However, time is required.
Regards,
Hiroshi Saito
----- Original Message -----
From: "Martin Schäfer" <Martin(dot)Schaefer(at)cadcorp(dot)com>
> Okay, got it now.
>
> Unfortunately, the output is exactly the same as before:
>
> G:\Test\TestPostgreSQLJapanese>PostgreSQLJapaneseSJIS.exe localhost 5432 dev308 postgres
> postgres
> localhost 5432 dev308 postgres postgres
> Testing with encoding UTF-8:
> NOTICE: CREATE TABLE will create implicit sequence "蝗帛ョ誉gid_seq" for serial column "蝗帛ョ・gid"
> NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "蝗帛ョ誉pkey" for table "蝗帛ョ・
> PQfname(pResult, 4) returned incorrect field name.
> PQfname(pResult, 5) returned incorrect field name.
> PQfname(pResult, 6) returned incorrect field name.
>
> Testing with encoding SJIS:
> NOTICE: CREATE TABLE will create implicit sequence "四宗_gid_seq" for serial column "四宗.gid"
> NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "四宗_pkey" for table "四宗"
> Query failed with error:
> ERROR: invalid byte sequence for encoding "UTF8": 0xe59eff
> HINT: This error can also happen if the byte sequence does not match the encoding
> expected by the server, which is controlled by "client_encoding".
>
> I'm beginning to believe that the problem is indeed in the combination of UK English
> operating system with Japanese locale. Maybe someone else could test this combination?
>
> Regards,
>
> Martin
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-03-30 17:47:39 | Re: BUG #5395: UPDATE on shutdown overwrites table |
Previous Message | Lothar Bongartz | 2010-03-30 15:27:45 | BUG #5395: UPDATE on shutdown overwrites table |