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 5293D52C84 for ; Thu, 4 Aug 2005 11:15:22 -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 50203-01 for ; Thu, 4 Aug 2005 14:15:13 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by svr1.postgresql.org (Postfix) with ESMTP id EE7EC52C7D for ; Thu, 4 Aug 2005 11:15:11 -0300 (ADT) Received: by rproxy.gmail.com with SMTP id r35so358469rna for ; Thu, 04 Aug 2005 07:15:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=c+x08ykQC2Kq4eA+azZFSo9JtyH+yBSGtpC55+fpfCVBh91/fKlG2+YwAK0D9h2elrZpvnuOFhXdwlm/Yow+/hsqxLbpboyPjVejO6yFdECiwQyL2+m1zBM1I8QT0ZNrCBOL28Mthid8386p4t9zdUibHHoATDEeWeNVOUbdZzY= Received: by 10.38.86.10 with SMTP id j10mr869412rnb; Thu, 04 Aug 2005 07:15:16 -0700 (PDT) Received: by 10.39.1.20 with HTTP; Thu, 4 Aug 2005 07:15:16 -0700 (PDT) Message-ID: <8398dc6d05080407157d231222@mail.gmail.com> Date: Thu, 4 Aug 2005 11:15:16 -0300 From: "Alejandro D. Burne" Reply-To: "Alejandro D. Burne" To: Dave Page Subject: Re: Usind database with encoding UNICODE and vovel Cc: pgsql-odbc@postgresql.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.129 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200508/55 X-Sequence-Number: 5694 Dave, thanks 4 your time; * I've installed MDAC 2.8 with same results. * If I don't set locale on the client it doesn't work, pgadmin either (show wrong encoding data) After connect trough odbc:=20 SHOW CLIENT_ENCODING; return -> UTF8 The same command after connect to the LATIN10 db on pgadmin; SHOW CLIENT_ENCODING; return -> UNICODE Try create a LATIN10 db and connect to it to return client encoding. * About MsQuery I was speaking about visual querys design time, not to return millons of records. It works fine with other db, because it find the fields to make the relationship between tables, right now I'm migrating an app from mysql to postgres, the same querys, same data on msquery with mysql (myodbc) works fine; with psqlodbc hangup trying to relate tables (on visual design, without return a single record), If I type the query it works, but don't expect final users write a sql sentence =3D) * What about the 2 chars used to store strange chars? Thanks again and again. Alejandro 2005/8/4, Dave Page : >=20 >=20 > > -----Original Message----- > > From: Alejandro D. Burne [mailto:alejandro.dburne@gmail.com] > > Sent: 04 August 2005 14:13 > > To: Dave Page > > Subject: Re: Usind database with encoding UNICODE and vovel > > > > Ok, XP/MDAC 2.5 >=20 > 2.5 is quite old now - the current is 2.8 sp1 iirc >=20 > > I'll be testing now with 08.01.0003; my first word is works, "but" > > this strange chars use 2 chars internally in the string > > SET CLIENT_ENCODING =3D 'LATIN10'; > > INSERT INTO prueba VALUES ('=D1A=D1A'); > > SELECT * FROM prueba; > > returns '=D1A=D1A' <- WORKS OK > > > > just for test.. > > SET CLIENT_ENCODING =3D 'UNICODE'; > > SELECT * FROM prueba; > > returns 'A?AA?A' <- 6 chars >=20 > In all my testing, I found no need to execute SET CLIENT_ENCODING at all.= Please try it without. >=20 > > Another tip =3D) > > MsExcel returns wrong data. > > The problem seems to be the client don't select the right encoding for > > the DB, in this case LATIN10 and I don't know the way (if I can) to do > > this. > > > > The last one... in MsExcel (I guess MsQuery) when I try to relate 2 > > tables don't recognize related fields, with small tables there is no > > problem but with millon of records the app wait for a long time to > > stablish manually the relation. >=20 > That is to be expected - millions of records is a lot of work for any dri= ver! >=20 > Regards, Dave. >