X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7B44953995 for ; Fri, 15 Apr 2005 08:14:26 -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 63267-03 for ; Fri, 15 Apr 2005 11:14:21 +0000 (GMT) Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1E9D75384A for ; Fri, 15 Apr 2005 08:14:19 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 2F45430952; Fri, 15 Apr 2005 13:13:31 +0200 (MET DST) From: "Ben Trewern" X-Newsgroups: pgsql.interfaces.odbc Subject: Re: ODBC and encodings problem Date: Fri, 15 Apr 2005 12:14:33 +0100 Organization: Hub.Org Networking Services Lines: 62 Message-ID: References: <6C0CF58A187DA5479245E0830AF84F4214321E@poweredge.attiksystem.ch> Reply-To: "Ben Trewern" X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.185 tagged_above=0 required=5 tests=PRIORITY_NO_NAME X-Spam-Level: * X-Archive-Number: 200504/36 X-Sequence-Number: 5195 Does this mean I have to initdb my cluster again? I tried to do this on windows with 'initdb --encoding=LATIN1' but it hang on 'selecting default max_connections ...' I'm looking into this now. Not sure if it's an encoding problem or something else. What I was wondering was, why does the ODBC driver act differently to Zeos or pgAdmin III? Zeos and pgAdmin both use the libpq client library which I suppose is the standard. Is there a way the ODBC driver could be hacked to give the same response as libpq or am I simplifying this too much. Ben ""Philippe Lang"" wrote in message news:6C0CF58A187DA5479245E0830AF84F4214321E@poweredge.attiksystem.ch... > Hi, > > I don't know exactly which encoding you need, but at least for french, > encoding a datatabase in LATIN1 solves the problem... > > Bye > > Philippe > > -----Message d'origine----- > De : pgsql-odbc-owner@postgresql.org > [mailto:pgsql-odbc-owner@postgresql.org] De la part de Ben Trewern > Envoyé : jeudi, 14. avril 2005 21:20 > À : pgsql-odbc@postgresql.org > Objet : [ODBC] ODBC and encodings problem > > Hi all, > > Using PostgreSQL 8.0.1 on Linux > > I've got a database with an encoding of SQL_ASCII. I've accessed it with > pgAdmin III and Delphi through ZeosDBO and had no problems. Now I've been > using MS Access XP with pgODBC version 8.00.0101 to connect to it with > some success till now. I've noticed that any field with a £ sign in it is > not displaying correctly, I get 'WO ô,658.06' instead of 'WO £4,658.06' > and 'WO ÷60.56' instead of 'WO £128.88' etc. I assume it's something to > do with the encodings used server side or client side. > > Any ideas how to fix this? > > Regards, > > Ben > > > > ---------------------------(end of broadcast)--------------------------- > TIP 8: explain analyze is your friend > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq >