UTF-8 encoding problem
От | bhyuan |
---|---|
Тема | UTF-8 encoding problem |
Дата | |
Msg-id | 20070816151739.99DF.BHYUAN@gmail.com обсуждение исходный текст |
Ответы |
Re: UTF-8 encoding problem
|
Список | pgsql-general |
hi I use UTF-8 as server character encoding, and use sjis as client character encoding. For some reason, some none sjis encoding character was insert into the database. WHEN I use set client_encoding='SJIS select * from xxx I got such error message Native Error: ERROR: character 0xc2a0 of encoding "UTF8" has no equivalent in "SJIS" I just want to ignore the none-sjis encoding character and go on without any errors. I use postgresql8.1, it seems that the postgresql shoud report error at the case ----------------------------- If the conversion of a particular character is not possible ? suppose you chose EUC_JP for the server and LATIN1 for theclient, then some Japanese characters do not have a representation in LATIN1 ? then an error is reported. ----------------------------- Can I ignore the error message by confiing the config file? Thanks for any idea. bhyuan
В списке pgsql-general по дате отправления: