Re: ERROR: invalid byte sequence for encoding "UTF8": 0x93 Error

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Wang, Mary Y *EXTERN*" <mary(dot)y(dot)wang(at)boeing(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: ERROR: invalid byte sequence for encoding "UTF8": 0x93 Error
Date: 2010-03-08 08:17:14
Message-ID: D960CB61B694CF459DCFB4B0128514C2039381DE@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mary Y Wang wrote:
> I got the following error and not sure how to fix it.
> "psql:/tmp/030610dumpfile.txt:4369: ERROR: invalid byte sequence for encoding "UTF8": 0x93
> HINT: This error can also happen if the byte sequence does
> not match the encoding expected by the server, which is
> controlled by "client_encoding"."
>
> Any ideas?
> I'm running on Postgres 8.3.8.

You must either change the client encoding to the encoding of the
data you are feeding the client, or you must change the data to
match the client encoding.

Client encoding can be changed with the SQL statement
"SET client_encoding = ..." or by setting the PGCLIENTENCODING
environment variable.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Markus Wollny 2010-03-08 08:17:29 Re: Transaction wraparound problem with database postgres
Previous Message Albe Laurenz 2010-03-08 08:12:12 Re: kernel version impact on PostgreSQL performance