Re: invalid UTF-8 byte sequence detected

From: Wes <wespvp(at)syntegra(dot)com>
To: mike <mike(at)thegodshalls(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: invalid UTF-8 byte sequence detected
Date: 2006-03-16 06:01:53
Message-ID: C03E5B71.20DAB%wespvp@syntegra.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/15/06 11:42 PM, "mike" <mike(at)thegodshalls(dot)com> wrote:

> If you don't care to store those characters then maybe you should change
> the database character set to use SQL_ASCII instead of UTF-8. I believe
> ASCII will quietly discard those characters when converting from UTF-8.

I thought about that, but I do want to allow UTF-8 to be stored. I just
want it to replace illegal characters with some valid character so that
invalid records will load. Even if I preprocess the data, I can do no more
than that.

Wes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2006-03-16 06:13:42 Re: invalid UTF-8 byte sequence detected
Previous Message mike 2006-03-16 05:42:52 Re: invalid UTF-8 byte sequence detected