Re: not valid character for Unicode - Mailing list pgsql-general

From Jorge Godoy
Subject Re: not valid character for Unicode
Date
Msg-id 200606100909.17322.jgodoy@gmail.com
Whole thread Raw
In response to Re: not valid character for Unicode  (Adam Witney <awitney@sgul.ac.uk>)
List 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 by date:

Previous
From: Adam Witney
Date:
Subject: Re: not valid character for Unicode
Next
From: "pobox@verysmall.org"
Date:
Subject: Re: php 5.1.4 with PostgreSQL 8.1.4 causes Apache 1.3.36