Re: ERROR: invalid byte sequence for encoding "UTF8": 0xc35c

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Jasmin Dizdarevic <jasmin(dot)dizdarevic(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: invalid byte sequence for encoding "UTF8": 0xc35c
Date: 2011-03-03 01:45:06
Message-ID: 4D6EF2A2.60808@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 03/03/11 09:18, Jasmin Dizdarevic wrote:
> @ALL: Isn't it possible and wise to include an (optional) encoder in pgsql?
>
> we're importing a lot of data from textfiles, which are not utf-8. we
> always have to change the encoding in another tool before using COPY.

SET client_encoding

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nick Raj 2011-03-03 05:41:41 data type
Previous Message Jasmin Dizdarevic 2011-03-03 01:18:36 Re: ERROR: invalid byte sequence for encoding "UTF8": 0xc35c