Re: character conversion problem about UTF-8-->SHIFT_JIS_2004

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "bh yuan" <bhyuan(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: character conversion problem about UTF-8-->SHIFT_JIS_2004
Date: 2008-02-08 14:41:29
Message-ID: 01d301c86a60$b0b66fd0$0301a8c0@HP22720319231
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi.

>> use set client_encoding=''SJIS be the same to export PGCLIENTENCODING=SJIS.
>>
>> But can not export the data to csv file corecttly without errror,
>> just because the character which is not SJIS encoding.

Um, Please show the information on your database of 7.3.

ex)
postgres=# \l
List of databases
Name | Owner | Encoding
-----------+----------+----------
postgres | postgres | UTF8
template0 | postgres | UTF8
template1 | postgres | UTF8
(3 rows)

Probably, your database is SQL_ASCII ?

Regards,
Hiroshi Saito

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Colin Wetherbee 2008-02-08 14:42:53 Re: ERROR: COPY quote must be a single ASCII character
Previous Message Hiroshi Saito 2008-02-08 14:25:24 Re: character conversion problem about UTF-8-->SHIFT_JIS_2004