X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id E6BF4475D99 for ; Sat, 22 Feb 2003 05:42:28 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 42471-08 for ; Sat, 22 Feb 2003 05:42:18 -0500 (EST) Received: from ns1.gnw.de (ns1.turtle-entertainment.de [193.41.200.20]) by postgresql.org (Postfix) with ESMTP id B7E19475F86 for ; Sat, 22 Feb 2003 05:08:54 -0500 (EST) Received: from [213.148.158.226] (helo=mail.office.turtle-entertainment.de) by ns1.gnw.de with esmtp (Exim 3.16 #1 (Debian)) id 18mWaV-0006VV-00; Sat, 22 Feb 2003 11:08:55 +0100 Received: from p5084af2e.dip.t-dialin.net ([80.132.175.46] helo=shock) by mail.office.turtle-entertainment.de with asmtp (Exim 3.22 #7 (Debian)) id 18mWaQ-00014x-00; Sat, 22 Feb 2003 11:08:51 +0100 Message-ID: <015f01c2da5a$5ed64e10$0564a8c0@shock> From: =?Windows-1252?Q?Bj=F6rn_Metzdorf?= To: "Nathalie Boulos" Cc: References: Subject: Re: problem: Postgresql and Unicode Date: Sat, 22 Feb 2003 11:08:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Scanner: exiscan *18mWaQ-00014x-00*IVIZ7V8arEU* http://duncanthrax.net/exiscan/ X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/357 X-Sequence-Number: 7555 > But now I'm facing another problem: > How do I convert existing data in an SQL_ASCII database to unicode? > > Has anyone tried this before? Yes, that is no problem. Have a look at http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=multibyte.ht ml#AEN21920 short: dump sql_ascii, create unicode db, insert the dump with client encoding set to latin1 (or whatever). Regards, Bjoern