Re: [GENERAL] utf8 issue

2008-02-26 Thread Dean Gibson (DB Administrator)
On 2008-02-26 13:04, Tom Hart wrote: I already have a php script that does some data scrubbing before the copy. I added this line to the script and things seem to be working better now $line = iconv("ISO-8859-1", "UTF-8", $line); Thanks for the help guys :-) Read up on the difference bet

Re: [GENERAL] utf8 issue

2008-02-26 Thread Tom Hart
Richard Huxton wrote: Tom Hart wrote: Hello everybody. I recently converted my db from ASCII encoding to UTF8 (we have a lot of spanish-speaking members, and need the extra character support). Everything was working great, but I noticed this error, while trying to COPY one of our tables from a

Re: [GENERAL] utf8 issue

2008-02-26 Thread Alvaro Herrera
Tom Hart wrote: > Hello everybody. I recently converted my db from ASCII encoding to UTF8 > (we have a lot of spanish-speaking members, and need the extra character > support). Everything was working great, but I noticed this error, while > trying to COPY one of our tables from a csv. > > ERR

Re: [GENERAL] utf8 issue

2008-02-26 Thread Richard Huxton
Tom Hart wrote: Hello everybody. I recently converted my db from ASCII encoding to UTF8 (we have a lot of spanish-speaking members, and need the extra character support). Everything was working great, but I noticed this error, while trying to COPY one of our tables from a csv. ERROR: invalid

[GENERAL] utf8 issue

2008-02-26 Thread Tom Hart
Hello everybody. I recently converted my db from ASCII encoding to UTF8 (we have a lot of spanish-speaking members, and need the extra character support). Everything was working great, but I noticed this error, while trying to COPY one of our tables from a csv. ERROR: invalid byte sequence for