Re: Mac OS Roman import?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christophe Pettus <xof(at)thebuild(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org mailing list" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Mac OS Roman import?
Date: 2009-10-19 22:47:39
Message-ID: 13034.1255992459@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christophe Pettus <xof(at)thebuild(dot)com> writes:
> I find myself needing to regularly import data encoded as Mac OS Roman
> (yes, it is coming from an Macintosh OS 9 system) into a UTF-8
> PostgreSQL database. Any advice on how to do so, since Mac OS Roman
> is (reasonably enough) not one of PG's standard character encodings?

Maybe iconv knows about it? Or it might be that it's close enough to
ISO 8859-something that you could get away with pretending it's that.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Ribe 2009-10-19 23:39:36 Re: Mac OS Roman import?
Previous Message Scott Ribe 2009-10-19 22:32:51 Re: Mac OS Roman import?