pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alan Hodgson <ahodgson@simkin.ca>
To: pgsql-general@postgresql.org
Subject: Re: Invalid byte sequence for encoding "UTF8": 0xedbebf
Date: Wed, 15 Jun 2011 14:37:21 -0700
Message-ID: <201106151437.21275.ahodgson@simkin.ca> (raw)
In-Reply-To: <29EA9BFEF7E7FC4F988818CA0C5C78C20F6A2686@AG-DCC-MBX03.dsone.3ds.com>
References: <29EA9BFEF7E7FC4F988818CA0C5C78C20F6A2686@AG-DCC-MBX03.dsone.3ds.com>

On June 15, 2011 01:18:27 PM BRUSSER Michael wrote:
> Unless there's no other options I don't want to use sed or break file into
> pieces, if possible,

iconv loads everything into RAM. You can use "split", convert the pieces, and 
then recombine, I did that when converting a large database to utf-8 and it 
worked.

-- 
Obama has now fired more cruise missiles than all other Nobel Peace prize 
winners combined.



view thread (18+ messages)  latest in thread

Message-ID: <201106151437.21275.ahodgson@simkin.ca>
Permalink:  ../201106151437.21275.ahodgson@simkin.ca/
Also on:    postgresql.org/message-id/201106151437.21275.ahodgson@simkin.ca

 · 

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-general@postgresql.org
  Cc: ahodgson@simkin.ca
  Subject: Re: Invalid byte sequence for encoding "UTF8": 0xedbebf
  In-Reply-To: <201106151437.21275.ahodgson@simkin.ca>
  References: <29EA9BFEF7E7FC4F988818CA0C5C78C20F6A2686@AG-DCC-MBX03.dsone.3ds.com> <201106151437.21275.ahodgson@simkin.ca>

* 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