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 BF4BC529E0 for ; Thu, 4 Aug 2005 12:11:23 -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 64843-01 for ; Thu, 4 Aug 2005 15:11:21 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.203]) by svr1.postgresql.org (Postfix) with ESMTP id 0D89C529DA for ; Thu, 4 Aug 2005 12:11:20 -0300 (ADT) Received: by rproxy.gmail.com with SMTP id r35so369911rna for ; Thu, 04 Aug 2005 08:11:19 -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=EZcuMhKNhreBFjwHSH9KKPywcZWcLipYGWth8Pawh2DBJ2yh+oSXcfd38bsQcH9qe+QykpKoGtSXyk/LTPzw8NXxCHJDaPzsvPPl9uYnH7zDsFOnMlE1sP6bqMbySb9XeI61yRWItt3ygcbYYFwTXMiXP5Hyy/c66UsHQAypks0= Received: by 10.38.13.14 with SMTP id 14mr887080rnm; Thu, 04 Aug 2005 08:11:19 -0700 (PDT) Received: by 10.39.1.20 with HTTP; Thu, 4 Aug 2005 08:11:19 -0700 (PDT) Message-ID: <8398dc6d0508040811410cd9c2@mail.gmail.com> Date: Thu, 4 Aug 2005 12:11:19 -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.125 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200508/57 X-Sequence-Number: 5696 2005/8/4, Dave Page : ... > > > > 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: > > SHOW CLIENT_ENCODING; > > return -> UTF8 >=20 > So to make it work, you do " SET client_encoding TO 'LATIN10' " ? Yes, I choose LATIN10 after odbc connect and things go ok, I'm using visualfoxpro. >=20 > > The same command after connect to the LATIN10 db on pgadmin; > > SHOW CLIENT_ENCODING; > > return -> UNICODE >=20 > In pgAdmin it will always be unicode, because pgAdmin explicitly sets it > to unicode unless the database is SQL_ASCII. Thats because pgAdmin and > wxWidgets (the framework it's built with) are fully Unicode aware and > can therefore just let the server handle the conversion. >=20 > > Try create a LATIN10 db and connect to it to return client encoding. >=20 > The default in MSQUERY is UTF8 (which is UNICODE) >=20 > > * 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) >=20 > Sounds odd - I can design queries here with no difficulties. You haven't > got SQL Tracing or the Mylog switched on have you? No, I've not using any odbc log check. I'm using Excel - Data - Obtain remote data - New query (translated, I've got it in spanish) which uses an asistant to obtain data. When I try to include more than one table appear a message box telling something like "the asistant can't relate the tables, you must make it manually", after that appear MsQuery to do it, but make a full join on both tables. If the tables have 50-100 records there is no problem (100*50=3D5000 record) but with large tables just collapse. I fix it making views and selecting the fields just I need with a specific filter. >=20 > > * What about the 2 chars used to store strange chars? >=20 > Thats likely just multibyte characters being shown as single byte. >=20 > Regards, Dave >=20 Gracias, Alejandro.