pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[pg-sql] Character encoding
2+ messages / 2 participants
[nested] [flat]

* [pg-sql] Character encoding
@ 2003-09-25 15:20 BenLaKnet <benlaknet@icqmail.com>
  2003-09-26 09:18 ` Re: [pg-sql] Character encoding Vivien Malerba <vivien.malerba@aviation-civile.gouv.fr>
  0 siblings, 1 reply; 2+ messages in thread

From: BenLaKnet @ 2003-09-25 15:20 UTC (permalink / raw)
  To: pgsql-sql

How is it possible to convert a database in SQL_ASCII to UNICODE ?

Thx a lot


Regards

Ben




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pg-sql] Character encoding
  2003-09-25 15:20 [pg-sql] Character encoding BenLaKnet <benlaknet@icqmail.com>
@ 2003-09-26 09:18 ` Vivien Malerba <vivien.malerba@aviation-civile.gouv.fr>
  0 siblings, 0 replies; 2+ messages in thread

From: Vivien Malerba @ 2003-09-26 09:18 UTC (permalink / raw)
  To: BenLaKnet <benlaknet@icqmail.com>; +Cc: pgsql-sql

Le jeu 25/09/2003 à 17:20, BenLaKnet a écrit :
> How is it possible to convert a database in SQL_ASCII to UNICODE ?
> 
> Thx a lot

I did a pg_dump to a file, converted that file to UTF-8 encoding using
iconv, created a new DB using the "-E unicode" option, and imported the
data into that new DB from the converted dump file.

There is maybe a better solution, but this one works.

Vivien




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-09-26 09:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-25 15:20 [pg-sql] Character encoding BenLaKnet <benlaknet@icqmail.com>
2003-09-26 09:18 ` Vivien Malerba <vivien.malerba@aviation-civile.gouv.fr>

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