From: Alejandro D. Burne <alejandro.dburne@gmail.com>
To: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Usind database with encoding UNICODE and vovel
Date: Thu, 4 Aug 2005 11:15:16 -0300
Message-ID: <8398dc6d05080407157d231222@mail.gmail.com> (raw)
In-Reply-To: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC97E1@ratbert.vale-housing.co.uk>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC97E1@ratbert.vale-housing.co.uk>
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
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 =)
* What about the 2 chars used to store strange chars?
Thanks again and again.
Alejandro
2005/8/4, Dave Page <dpage@vale-housing.co.uk>:
>
>
> > -----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
>
> 2.5 is quite old now - the current is 2.8 sp1 iirc
>
> > 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 = 'LATIN10';
> > INSERT INTO prueba VALUES ('ÑAÑA');
> > SELECT * FROM prueba;
> > returns 'ÑAÑA' <- WORKS OK
> >
> > just for test..
> > SET CLIENT_ENCODING = 'UNICODE';
> > SELECT * FROM prueba;
> > returns 'A?AA?A' <- 6 chars
>
> In all my testing, I found no need to execute SET CLIENT_ENCODING at all. Please try it without.
>
> > Another tip =)
> > 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.
>
> That is to be expected - millions of records is a lot of work for any driver!
>
> Regards, Dave.
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: alejandro.dburne@gmail.com, dpage@vale-housing.co.uk
Subject: Re: Usind database with encoding UNICODE and vovel
In-Reply-To: <8398dc6d05080407157d231222@mail.gmail.com>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4AC97E1@ratbert.vale-housing.co.uk> <8398dc6d05080407157d231222@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox