X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 330119DC98B for ; Mon, 30 Jan 2006 15:24:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 60310-01 for ; Mon, 30 Jan 2006 15:24:08 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 834779DC9F5 for ; Mon, 30 Jan 2006 15:24:06 -0400 (AST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr4.postgresql.org (Postfix) with ESMTP id A8BC05AF18C for ; Mon, 30 Jan 2006 19:24:07 +0000 (GMT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F3ecx-0007qQ-6X for pgsql-jdbc@postgresql.org; Mon, 30 Jan 2006 20:23:51 +0100 Received: from 83.145.96.118 ([83.145.96.118]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jan 2006 20:23:51 +0100 Received: from Marc.Herbert by 83.145.96.118 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jan 2006 20:23:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Marc Herbert Subject: Re: encoding question Date: Mon, 30 Jan 2006 20:23:35 +0100 Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83.145.96.118 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:OxeQVWzfAt2tqaLE1JAzWCvDaAE= X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.325 required=5 tests=[AWL=0.072, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.325 X-Spam-Level: * X-Archive-Number: 200601/138 X-Sequence-Number: 14589 "Gilbert, Antoine" writes: > Hi I have a postgresql database, the encoding of the database is > SQL_ASCII When I use the postgresql driver, I have problem > retrieving special characters "special ASCII characters", mmmm... what is this ? :-) I looked for a solution to this issue some time ago and found this "go-back-in-past" hack to change the encoding of the DB: Simple tests were successful but it is provided without any warranty of any kind; it stays a dirty hack. Anyone here knowing better? If you don't know which charset your "special characters" are from, or even worst if they are from different 8bit charsets, then you're just dead. Well, at least some of these characters are.