X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id E213E9FB40D for ; Thu, 31 Aug 2006 13:22:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 70638-03-2 for ; Thu, 31 Aug 2006 16:22:51 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web50401.mail.yahoo.com (web50401.mail.yahoo.com [206.190.38.66]) by postgresql.org (Postfix) with SMTP id 785DD9FB3DA for ; Thu, 31 Aug 2006 13:19:05 -0300 (ADT) Received: (qmail 21904 invoked by uid 60001); 31 Aug 2006 16:19:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ERH/N+KEV1IapIFfbGaUJlr7OLdJcX+3lMqVdowBDbRg/ANmntsTXK+k4mjUdrrZpWCst47TH2EyxlVX7UT0Gh98Hjp1mQyGWZDF1nnSt6711Lp/YwEfVSKqD8+YCf9/u+QeIe9c7Qc8v8zPuWACfcIm6EezlJgIWWlj0nsXxPY= ; Message-ID: <20060831161904.21902.qmail@web50401.mail.yahoo.com> Received: from [88.218.54.105] by web50401.mail.yahoo.com via HTTP; Thu, 31 Aug 2006 09:19:04 PDT Date: Thu, 31 Aug 2006 09:19:04 -0700 (PDT) From: Pantelis Natsiavas Subject: Re: Encoding problem To: pgsql-jdbc@postgresql.org In-Reply-To: <44F5712F.9000306@logix-tt.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-859221519-1157041144=:21590" Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.73 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS, HTML_30_40, HTML_MESSAGE X-Spam-Level: *** X-Archive-Number: 200608/188 X-Sequence-Number: 15715 --0-859221519-1157041144=:21590 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thank you Markus. It is unbelievable! I 've lost two days breaking my head over encodings, and the solution was the double quotes! Thank you all for bothering, Pantelis Markus Schaber wrote: Hi, Pantelis, Pantelis Natsiavas wrote: > The problem is, that I cannot make a SELECT query through the pgadmin > tool or the JDBC, using the same greek characters! Have you tried quoting the table names in double quotes? Like in: SELECT * FROM "myGreekTable"; Quoted identifiers are a source of trouble in SQL databases... HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend --------------------------------- Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice. --0-859221519-1157041144=:21590 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thank you Markus. It is unbelievable! I 've lost two days breaking my head over encodings, and the solution was the double quotes!

Thank you all for bothering,
Pantelis



Markus Schaber <schabi@logix-tt.com> wrote:
Hi, Pantelis,

Pantelis Natsiavas wrote:

> The problem is, that I cannot make a SELECT query through the pgadmin
> tool or the JDBC, using the same greek characters!

Have you tried quoting the table names in double quotes? Like in:

SELECT * FROM "myGreekTable";

Quoted identifiers are a source of trouble in SQL databases...

HTH,
Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend


Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice. --0-859221519-1157041144=:21590--