pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: 池澤 和憲 <ikezawa@tjsys.co.jp>
To: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6282: psql.exe cannot recognize specific 2byte SJIS character
Date: Tue, 08 Nov 2011 11:47:09 +0900
Message-ID: <4EB8982D.7050403@tjsys.co.jp> (raw)
In-Reply-To: <CAJW2+qe=AcKRy-P+Dby3DZ4sJt0WNVQaxXndFsBwj6+fMExOiw@mail.gmail.com>
References: <201111020052.pA20qZS9099314@wwwmaster.postgresql.org>
	<CAJW2+qe=AcKRy-P+Dby3DZ4sJt0WNVQaxXndFsBwj6+fMExOiw@mail.gmail.com>

Dear Itagaki-san,

Please, no flames about my bad English.

Sorry for the delay in getting back to you. It seemed that I gave the 
insufficient
information about psql.exe error.

For example, there is the following folder structure.

C:\構築フォルダ
   └A_TBL.sql

Type the folowing command line in a command prompt and I can get the 
error message.

C:\>psql --file="構築フォルダ\A_TBL.sql" --dbname=testdb 
--output="psql.csv" --n
o-align --tuples-only --field-separator="," --host=localhost --port=5432 
--usern
ame=testsuer --no-password
・築フォルダ/A_TBL.sql: No such file or directory

C:\>



With best regards,

   K.Ikezawa



(2011/11/02 14:32), Itagaki Takahiro wrote:
> On Wed, Nov 2, 2011 at 09:52,<ikezawa@tjsys.co.jp>  wrote:
>> Bug reference:      6282
>> PostgreSQL version: 9.1.1
>> Operating system:   Windows XP
>> Description:        psql.exe cannot recognize specific 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=# \encoding SJIS
> postgres=# SELECT '表' AS "ソ";
>   ソ
> ----
>   表
> (1 行)




view thread (4+ messages)  latest in thread

Message-ID: <4EB8982D.7050403@tjsys.co.jp>
Permalink:  ../4EB8982D.7050403@tjsys.co.jp/
Also on:    postgresql.org/message-id/4EB8982D.7050403@tjsys.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: ikezawa@tjsys.co.jp, itagaki.takahiro@gmail.com
  Subject: Re: BUG #6282: psql.exe cannot recognize specific 2byte SJIS character
  In-Reply-To: <4EB8982D.7050403@tjsys.co.jp>
  References: <201111020052.pA20qZS9099314@wwwmaster.postgresql.org> <CAJW2+qe=AcKRy-P+Dby3DZ4sJt0WNVQaxXndFsBwj6+fMExOiw@mail.gmail.com> <4EB8982D.7050403@tjsys.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox