Skip site navigation (1) Skip section navigation (2)

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:27:41
Message-ID: 377C0288D30BE04BA7B5FD60BDFC0C911A6F7003@crexc52p (view raw or flat)
Thread:
Lists: pgsql-novice
> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Friday, July 22, 2011 10:25 AM
> 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

Nope, I verified that there were no extraneous spaces in the copy file.
I will try installing gedit on windows and see if it happens again.


In response to

pgsql-novice by date

Next:From: THOMPSON, JARED (ATTBAPCO)Date: 2011-07-22 14:36:25
Subject: Re: Unknown character on copy
Previous:From: Tom LaneDate: 2011-07-22 14:25:29
Subject: Re: Unknown character on copy

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group