pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <craig@postnewspapers.com.au>
To: Jasmin Dizdarevic <jasmin.dizdarevic@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: ERROR: invalid byte sequence for encoding "UTF8": 0xc35c
Date: Thu, 03 Mar 2011 09:45:06 +0800
Message-ID: <4D6EF2A2.60808@postnewspapers.com.au> (raw)
In-Reply-To: <AANLkTintDxjykQ8R2eazvXr8Kbqvm=8opjw0YSaYZnbq@mail.gmail.com>
References: <AANLkTikfs1JYDtY1bcQFf+-oTs8Tmx89wse8V5Lp+xsJ@mail.gmail.com>
	<4D6B1305.5010400@postnewspapers.com.au>
	<AANLkTintDxjykQ8R2eazvXr8Kbqvm=8opjw0YSaYZnbq@mail.gmail.com>

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



view thread (19+ messages)  latest in thread

Message-ID: <4D6EF2A2.60808@postnewspapers.com.au>
Permalink:  ../4D6EF2A2.60808@postnewspapers.com.au/
Also on:    postgresql.org/message-id/4D6EF2A2.60808@postnewspapers.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: craig@postnewspapers.com.au, jasmin.dizdarevic@gmail.com
  Subject: Re: ERROR: invalid byte sequence for encoding "UTF8": 0xc35c
  In-Reply-To: <4D6EF2A2.60808@postnewspapers.com.au>
  References: <AANLkTikfs1JYDtY1bcQFf+-oTs8Tmx89wse8V5Lp+xsJ@mail.gmail.com> <4D6B1305.5010400@postnewspapers.com.au> <AANLkTintDxjykQ8R2eazvXr8Kbqvm=8opjw0YSaYZnbq@mail.gmail.com> <4D6EF2A2.60808@postnewspapers.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox