X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id BAFDF9FB25F for ; Mon, 18 Sep 2006 12:29:44 -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 54907-08 for ; Mon, 18 Sep 2006 15:29:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 62A779FB27F for ; Mon, 18 Sep 2006 12:29:25 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 9FA4330E0E; Mon, 18 Sep 2006 17:29:24 +0200 (MET DST) From: Stijn Vanroye X-Newsgroups: pgsql.interfaces.odbc Subject: Re: Problem with euro symbol Date: Mon, 18 Sep 2006 17:24:50 +0200 Organization: Easy to Work Lines: 53 Message-ID: References: <6ff7932d0609150720t19e08688l20c76ca595bb4ff6@mail.gmail.com> <6ff7932d0609180723u2d51a243vdc980fb9764c9db8@mail.gmail.com> Reply-To: s.vanroye@easytowork.nl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: <6ff7932d0609180723u2d51a243vdc980fb9764c9db8@mail.gmail.com> To: pgsql-odbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.175 tagged_above=0 required=5 tests=NORMAL_HTTP_TO_IP X-Spam-Level: X-Archive-Number: 200609/71 X-Sequence-Number: 8222 Yann PICHOT schreef: > I use ODBC ANSI. > > I test ODBC Unicode but when i use it, SELECT statement don't return > character column (CHAR and VARCHAR) and my database is not in Unicode0 > > 2006/9/18, Stijn Vanroye < s.vanroye@easytowork.nl > >: > > Yann PICHOT schreef: > > Hi, > > > > I have a 8.1.4 database on windows with LATIN9 codepage . > > In Java application (use JDBC driver postgresql-8.1-407.jdbc3.jar) on > > Windows i write characters with euro symbole (ALT GR+E on my > keyboard). > > When i retrieve these characters data in my java application i > see the > > correct charater for euro symbol. > > But when i retrieve these data with application use ODBC driver > > ( 8.02.01.00 ) the > character that i see is not correct. > > > > How can i correct this problem ? > > > > -- > > Yann > > Do you use the ODBC ANSI or UNICODE driver? I'ts likely that your > problem can be found in that corner. > > Regards, > > Stijn. > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > > > > > -- > Yann Still I think the problem is to be found somewhere in that corner. I myself use a dabase with UTF8 encoding in combination with the ODBC UNICODE driver. I do howver add this to the connect settings of the driver: SET CLIENT_ENCODING='LATIN1' Maybe some of the charset/encoding experts can shed some more light on this matter? Regards, Stijn.