pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mikel Lindsaar <raasdnil@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Importing data - possible UTF8 import bug?
Date: Fri, 11 Jul 2008 12:56:47 +1000
Message-ID: <57a815bf0807101956x1164e095j7433d8e1e1bc5b7e@mail.gmail.com> (raw)
In-Reply-To: <57a815bf0807101902o193644ear50e211e67663d874@mail.gmail.com>
References: <57a815bf0807101902o193644ear50e211e67663d874@mail.gmail.com>

> Anyone got any ideas how I can hunt down what is in this row, visually
> looking at it hasn't helped?

As a followup, I am getting this same sort of error at various points
on the file.

So I tried taking the line, and cleaning it with Iconv and turning it
into an ASCII sequence and inserting it back into the file.

I still get the same error with the same invalid character.... too weird.

I have a few lines that fail, all with different invalid character encodings:

0xe92042
0xe42050
0xa2
0xc220
0xdb20
0xe42050
0xe92042

It's at the rate of about one every 50,000 rows... so no real big
deal... but still...

-- 
http://lindsaar.net/
Rails, RSpec and Life blog....



view thread (4+ messages)  latest in thread

Message-ID: <57a815bf0807101956x1164e095j7433d8e1e1bc5b7e@mail.gmail.com>
Permalink:  ../57a815bf0807101956x1164e095j7433d8e1e1bc5b7e@mail.gmail.com/
Also on:    postgresql.org/message-id/57a815bf0807101956x1164e095j7433d8e1e1bc5b7e@mail.gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: raasdnil@gmail.com
  Subject: Re: Importing data - possible UTF8 import bug?
  In-Reply-To: <57a815bf0807101956x1164e095j7433d8e1e1bc5b7e@mail.gmail.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