Re: BUG #6282: psql.exe cannot recognize specific 2byte SJIS character - Mailing list pgsql-bugs

From Itagaki Takahiro
Subject Re: BUG #6282: psql.exe cannot recognize specific 2byte SJIS character
Date
Msg-id CAJW2+qe=AcKRy-P+Dby3DZ4sJt0WNVQaxXndFsBwj6+fMExOiw@mail.gmail.com
Whole thread Raw
In response to BUG #6282: psql.exe cannot recognize specific 2byte SJIS character  ("" <ikezawa@tjsys.co.jp>)
Responses Re: BUG #6282: psql.exe cannot recognize specific 2byte SJIS character  (池澤 和憲 <ikezawa@tjsys.co.jp>)
List pgsql-bugs
On Wed, Nov 2, 2011 at 09:52,  <ikezawa@tjsys.co.jp> wrote:
> Bug reference: =C2=A0 =C2=A0 =C2=A06282
> PostgreSQL version: 9.1.1
> Operating system: =C2=A0 Windows XP
> Description: =C2=A0 =C2=A0 =C2=A0 =C2=A0psql.exe cannot recognize specifi=
c 2byte SJIS character
> Details:
> psql.exe cannot recognize specific 2byte SJIS characters.
>
> These characters have '\'(0x5c) in low byte of 2 Bytes.

Please send reproducible input pattern.

I saw expected results as long as client encoding is set to SJIS:

postgres=3D# \encoding SJIS
postgres=3D# SELECT '=E8=A1=A8' AS "=E3=82=BD";
 =E3=82=BD
----
 =E8=A1=A8
(1 =E8=A1=8C)

--=20
Itagaki Takahiro

pgsql-bugs by date:

Previous
From: "Naoya Anzai"
Date:
Subject: BUG #6283: About the behavior of indexscan in case there are some NULL values.
Next
From: "Jim Jackson"
Date:
Subject: BUG #6281: need to remove