Skip site navigation (1) Skip section navigation (2)

Postgres Encoding conversion problem

From: Clemens Schwaighofer <cs(at)tequila(dot)co(dot)jp>
To: pgsql-general(at)postgresql(dot)org
Subject: Postgres Encoding conversion problem
Date: 2008-04-22 04:58:01
Message-ID: (view raw or whole thread)
Lists: pgsql-general

I sometimes have a problem with conversion of encodings eg from UTF-8
tio ShiftJIS:

ERROR:  character 0xf0a0aeb7 of encoding "UTF8" has no equivalent in "SJIS"

I have no idea what character this is, I cannot view it in my browser, etc.

If I run the conversion through PHP with mb_convert_encoding it works,
perhaps he is ignoring the character.

Is there a way to do a similar thing, like ignoring this character in
postgres too?

[ Clemens Schwaighofer                      -----=====:::::~ ]
[ IT Engineer/Manager, TEQUILA\ Japan IT Group               ]
[                6-17-2 Ginza Chuo-ku, Tokyo 104-8167, JAPAN ]
[ Tel: +81-(0)3-3545-7703            Fax: +81-(0)3-3545-7343 ]
[                                   ]


pgsql-general by date

Next:From: A. KretschmerDate: 2008-04-22 05:12:08
Subject: Re: create temp in function
Previous:From: Gurjeet SinghDate: 2008-04-22 03:27:53
Subject: Re: PostgreSQL on Vista

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group