Re: not valid character for Unicode

Поиск
Список
Период
Сортировка
От Jorge Godoy
Тема Re: not valid character for Unicode
Дата
Msg-id 200606100909.17322.jgodoy@gmail.com
обсуждение исходный текст
Ответ на Re: not valid character for Unicode  (Adam Witney <awitney@sgul.ac.uk>)
Список pgsql-general
Em Sábado 10 Junho 2006 05:31, Adam Witney escreveu:
> yep it is there, when i display the data from the application (PHP) it
> shows the character on the web page. Also this causes errors when i dump
> from 7.4 and try to load into 8.1 (i've read that the UNICODE checking
> became more stringent in 8)
>
> so basically 8.1 won't accept this character... im just not entirely
> sure what to do about that?

Are you on a Unix/Linux machine?  You can dump the file there and run "file
dump.sql" to see what type of file it reports.  If it says something other
than a string containing "text" and "utf-8", then you can edit the dump
manually and set the client encoding to whatever it is reported and try
restoring it or you can run "iconv" on the file and see if the conversion to
utf-8 works.

--
Jorge Godoy      <jgodoy@gmail.com>


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

Предыдущее
От: Adam Witney
Дата:
Сообщение: Re: not valid character for Unicode
Следующее
От: "pobox@verysmall.org"
Дата:
Сообщение: Re: php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36