Re: Character Encoding WAS: ArrayIndexOutOfBoundsException in Encoding.decodeUTF8()

Поиск
Список
Период
Сортировка
От Joseph Shraibman
Тема Re: Character Encoding WAS: ArrayIndexOutOfBoundsException in Encoding.decodeUTF8()
Дата
Msg-id 3E1CC1B9.6060009@selectacast.net
обсуждение исходный текст
Ответ на Character Encoding WAS: ArrayIndexOutOfBoundsException in Encoding.decodeUTF8()  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-jdbc
Joseph Shraibman wrote:
> Barry Lind wrote:
>> Joseph Shraibman wrote:
>>> I notice there is no way to change a database's encoding.  If I just
>>> change the encoding type in the pg_database to latin1 will there be
>>> data loss?
>>
>>
>>
>> The recommended way to do this would be to dump the contents of the
>> database, create a new database with the desired character set and
>> then import the data into that new database.  I don't know if changing
>> pg_database directly would work or not.
>>
>>
> That didn't work.

Acutally it did. My test data was flawed.  What didn't work is editing the dump to change
the type to unicode.


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

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: Character Encoding WAS: ArrayIndexOutOfBoundsException in Encoding.decodeUTF8()
Следующее
От: Barry Lind
Дата:
Сообщение: Re: synchronized code