Re: About ERROR: could not convert UTF-8 character 0x00e9

Поиск
Список
Период
Сортировка
От Ying Lu
Тема Re: About ERROR: could not convert UTF-8 character 0x00e9
Дата
Msg-id 425D6B4A.4010003@cs.concordia.ca
обсуждение исходный текст
Ответ на Re: About ERROR: could not convert UTF-8 character 0x00e9 to ISO8859-1  (Secrétariat <ets@rolland-fr.com>)
Ответы Re: About ERROR: could not convert UTF-8 character 0x00e9  (Ying Lu <ying_lu@cs.concordia.ca>)
Список pgsql-general
Hello,

Actually, both the server and client sides have been setup encoding
"latin1".

I am trying to read data from one DB and save to another DB. When I
tried to read data from one DB (using postgresql-8.0-310.jdbc3.jar), it
seems that I lost all my French characters (they become ?).

Also, I am *not* able even to *paste* french characters from PSQL terminal.

I am thinking should I make some changes about my terminal drivers to
allow French characters?



(Note: I already tried
   javac -encoding ISO-8859-1
   java -Dfile.encoding=ISO-8859-1 test
When compiling and running my java programs
)

Thanks a lot,
Emi









> SET CLIENT_ENCODING TO 'LATIN1' ;
> SELECT * FROM table1 ;
>
> Your database woul be coded as LATIN1.
>
> Luc
>
> ----- Original Message ----- From: "Ying Lu" <ying_lu@cs.concordia.ca>
> To: <pgsql-general@postgresql.org>
> Sent: Wednesday, April 13, 2005 5:49 PM
> Subject: [GENERAL] About ERROR: could not convert UTF-8 character
> 0x00e9 to ISO8859-1
>
>
>> Greetings,
>>
>> PostgreSQL 8.0.1 on i686-pc-linux-gnu, compiled by GCC gcc (GCC)
>> 3.3.2. When I run
>>
>> select * from table1;
>>
>> I got an error:
>> =========
>> ERROR:  could not convert UTF-8 character 0x00e9 to ISO8859-1
>>
>> I tried to google but cannot find much info about it. Can somebody help?
>>
>> Thanks,
>> Emi
>>
>>
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 8: explain analyze is your friend
>>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
>               http://archives.postgresql.org



В списке pgsql-general по дате отправления:

Предыдущее
От: James Robinson
Дата:
Сообщение: Re: Composite type versus Domain constraints.
Следующее
От: Libia Andrea Ramos Sánchez
Дата:
Сообщение: [PHP] unsubscribe