X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 323D59FB2EA for ; Wed, 30 Aug 2006 06:15:02 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 06387-06 for ; Wed, 30 Aug 2006 06:14:58 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web50407.mail.yahoo.com (web50407.mail.yahoo.com [206.190.38.72]) by postgresql.org (Postfix) with SMTP id 6141B9FB2E5 for ; Wed, 30 Aug 2006 06:14:58 -0300 (ADT) Received: (qmail 40649 invoked by uid 60001); 30 Aug 2006 09:14:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ij1EodjLXVeeokSapbsUO6DbNqz2b6+XN5q5ld570dSwuNWj8dxsQQ1Lf/E2M1m3QLsSildmyQv35yx2z5IWztpq0I8u5echOHnzV5GbDoVH08Fu1k182IDYjGyF/nL7xQ7osRjIhSQzZSIqzfbU96tzQPVU+VcSmoPhGg1lbAg= ; Message-ID: <20060830091457.40647.qmail@web50407.mail.yahoo.com> Received: from [88.218.54.105] by web50407.mail.yahoo.com via HTTP; Wed, 30 Aug 2006 02:14:57 PDT Date: Wed, 30 Aug 2006 02:14:57 -0700 (PDT) From: Pantelis Natsiavas Subject: Re: Encoding problem To: mail list for postgreSQL JDBC problems MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1892752289-1156929297=:37289" Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.354 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS, HTML_10_20, HTML_MESSAGE X-Spam-Level: ** X-Archive-Number: 200608/171 X-Sequence-Number: 15698 --0-1892752289-1156929297=:37289 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I am not really sure, about what you are asking. I am writing in JBuilder. I tried to use the default encoding in JBuilder project and I got the same error. Then tried to change it to UTF-8 but still nothing. I think that this should be the encoding of the source file. I don't understand why I should have the table name in the java source file. I create only a String object which contains the SQL query and works fine with english-named tables. The String containing the SQL query is encoded in UTF-8 but it doesn't work when I use greek characters. I ensist that the problem should be in PostgreSQL settings and not in my code, because I tried to make the same query through the query tool in pgadmin and I got the same error. I even tried, to save the query in Windows Notepad using UTF-8 and then load it through the proper option in the query tool of pgadmin and still the same error occurs. Always thankful, Pantelis --------------------------------- Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail. --0-1892752289-1156929297=:37289 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit   I am not really sure, about what you are asking. I am writing in JBuilder. I tried to use the default encoding in JBuilder project and I got the same error. Then tried to change it to UTF-8 but still nothing. I think that this should be the encoding of the source file. I don't understand why I should have the table name in the java source file.
    I create only a String object which contains the SQL query and works fine with english-named tables. The String containing the SQL query is encoded in UTF-8 but it doesn't work when I use greek characters. I ensist that the problem should be in PostgreSQL settings and not in my code, because I tried to make the same query through the query tool in pgadmin and I got the same error. I even tried, to save the query in Windows Notepad using UTF-8 and then load it through the proper option in the query tool of pgadmin and still the same error occurs.

Always thankful,
Pantelis


Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail. --0-1892752289-1156929297=:37289--