Re: Hex characters in COPY input - Mailing list pgsql-general

From Vick Khera
Subject Re: Hex characters in COPY input
Date
Msg-id CALd+dceyY73-7vPux-CmFiF3d+gU=c0R36fGfK-ceBrjztx3ww@mail.gmail.com
Whole thread Raw
In response to Hex characters in COPY input  (Melvin Call <melvincall979@gmail.com>)
Responses Re: Hex characters in COPY input  (Melvin Call <melvincall979@gmail.com>)
List pgsql-general

On Thu, Feb 26, 2015 at 9:50 PM, Melvin Call <melvincall979@gmail.com> wrote:
Montreal where the e is an accented e. The output ends up in the text file as
Montr\xe9al, where the xe9 is a single character. When I try to copy that into
my PostgreSQL table, I get an error "ERROR:  invalid byte sequence for encoding

Character code E9 is not UTF8. Don't tell Postgres you're importing UTF8 if you're not.

pgsql-general by date:

Previous
From: Melvin Call
Date:
Subject: Hex characters in COPY input
Next
From: Marc Mamin
Date:
Subject: Re: range type expression syntax