Re: Unknown character on copy

From: "THOMPSON, JARED (ATTBAPCO)" <JT060b(at)ATT(dot)COM>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Unknown character on copy
Date: 2011-07-22 14:36:25
Message-ID: 377C0288D30BE04BA7B5FD60BDFC0C911A6F7004@crexc52p
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
>
> Is it also in the first line of the COPY data file?
>
> If so, it's probably a Unicode byte order mark. That's not really
> legitimate in UTF8 data, but some Windows text editors are broken
> enough
> to insert one at the start of a file anyway.
>
> regards, tom lane

Tom, thanks for the idea of the windows text editor - it was
(apparently) the cause of the offending character.

I dropped the table, and redid everything and the character showed up.

So,

I dropped the table - keeping all my processes the same with the
exception of using gedit instead of windows notpad.
The character did not show up.

Thanks again,

Jared

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Mathieu Dubois 2011-07-24 18:18:53 cast bytea to double precision[]
Previous Message THOMPSON, JARED (ATTBAPCO) 2011-07-22 14:27:41 Re: Unknown character on copy