X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 66C64D7099 for ; Tue, 23 Aug 2005 13:57:34 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 90115-10 for ; Tue, 23 Aug 2005 16:57:30 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id 650BBD7095 for ; Tue, 23 Aug 2005 13:57:27 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E7c2Y-0003ZF-Pw for pgsql-jdbc@postgresql.org; Tue, 23 Aug 2005 18:54:25 +0200 Received: from 213.244.29.170 ([213.244.29.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2005 18:54:22 +0200 Received: from Marc.Herbert by 213.244.29.170 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Aug 2005 18:54:22 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Marc Herbert Subject: Re: Is this encoding error correct/possible? Date: Tue, 23 Aug 2005 18:56:48 +0200 Lines: 16 Message-ID: <87irxwmw1b.fsf_-_@meije.emic.fr> References: <1124790915.27046.25.camel@panoramix.askesis.nl> <1124808654.27046.52.camel@panoramix.askesis.nl> <1124809539.27046.56.camel@panoramix.askesis.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 213.244.29.170 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:c1HjJFObjluTrhN5YMcIe1s/LqE= X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.927 required=5 tests=[AWL=-0.678, FORGED_RCVD_HELO=0.05, RCVD_BY_IP=0.024, RCVD_NUMERIC_HELO=1.531] X-Spam-Level: X-Archive-Number: 200508/177 X-Sequence-Number: 13746 Joost Kraaijeveld writes: > On Tue, 2005-08-23 at 09:55 -0500, Kris Jurka wrote: >> Yes, but this requires a dump and restore. Additionally since you have >> some non-unicode data in there, it may require running something like >> iconv over the data before reloading it. This can be especially messy if >> you've got multiple encodings in there already. It all depends on the >> uniformity of your existing data. > Can you give me a pointer where I can find any info about such > procedure? GNU recode is a simple but great tool to convert text files, you may find it useful. It seems to be similar to iconv in purpose (I don't know iconv).