pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan M. Davalos <n.davalos@sharedmarketing.com>
To: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #5944: COPY FROM doesn't work with international characters
Date: Wed, 23 Mar 2011 19:59:01 -0500
Message-ID: <2701CF596B80DC44815FDBFFF5881A1E0104C331@exchange01.sharedmarketing.com> (raw)
In-Reply-To: <4D8A9634.2060201@hogranch.com>
References: <201103232332.p2NNWwRn083987@wwwmaster.postgresql.org>
	<4D8A86EF.6020502@hogranch.com>
	<2701CF596B80DC44815FDBFFF5881A1E0104C330@exchange01.sharedmarketing.com>
	<4D8A9634.2060201@hogranch.com>

AcNumber character varying(20),
AcName character varying(50)

The database itself is:
       ENCODING = 'UTF8'
       TABLESPACE = pg_default
       LC_COLLATE = 'English_United States.1252'
       LC_CTYPE = 'English_United States.1252'



-----Original Message-----
From: John R Pierce [mailto:pierce@hogranch.com] 
Sent: Wednesday, March 23, 2011 7:54 PM
To: Nathan M. Davalos; PostgreSQL Bugs
Subject: Re: [BUGS] BUG #5944: COPY FROM doesn't work with international characters

On 03/23/11 5:42 PM, Nathan M. Davalos wrote:
> Just in case the reply didn't go through the character in question is F1.
>
> I replied to the message using  pgsql-bugs@postgresql.org, but I'm a wee bit new to the bug reporting stuff using the mailing list.
>
> The hex of the file in total is
> 32.33.30.30.30.32.09.41.6C.74.6F.20.44.65.73.65.6D.70.65.F1.6F.2C.20.53.2E.41.2E.20.44.65.20.43.2E.56.2E.0D.0A

k, thats certainly win-1252.  I see a tab after the 230002, then the 
rest of it is all one field, ending in a <CR><LF> sequence.


The table you're copying this data to, what fields does it have?


view thread (10+ messages)  latest in thread

Message-ID: <2701CF596B80DC44815FDBFFF5881A1E0104C331@exchange01.sharedmarketing.com>
Permalink:  ../2701CF596B80DC44815FDBFFF5881A1E0104C331@exchange01.sharedmarketing.com/
Also on:    postgresql.org/message-id/2701CF596B80DC44815FDBFFF5881A1E0104C331@exchange01.sharedmarketing.com

 · 

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-bugs@postgresql.org
  Cc: n.davalos@sharedmarketing.com
  Subject: Re: BUG #5944: COPY FROM doesn't work with international characters
  In-Reply-To: <2701CF596B80DC44815FDBFFF5881A1E0104C331@exchange01.sharedmarketing.com>
  References: <201103232332.p2NNWwRn083987@wwwmaster.postgresql.org> <4D8A86EF.6020502@hogranch.com> <2701CF596B80DC44815FDBFFF5881A1E0104C330@exchange01.sharedmarketing.com> <4D8A9634.2060201@hogranch.com> <2701CF596B80DC44815FDBFFF5881A1E0104C331@exchange01.sharedmarketing.com>

* 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