Re: psqlODBC-Driver Test / text fields - Mailing list pgsql-odbc

From Dave Page
Subject Re: psqlODBC-Driver Test / text fields
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C98F3@ratbert.vale-housing.co.uk
Whole thread Raw
In response to psqlODBC-Driver Test / text fields  (Johann Zuschlag <zuschlag2@online.de>)
Responses Re: psqlODBC-Driver Test / text fields
Unicode is not UTF-8. was :psqlODBC-Driver Test / text fields
List pgsql-odbc

> -----Original Message-----
> From: Ludek Finstrle [mailto:luf@pzkagis.cz]
> Sent: 29 March 2006 16:23
> To: Dave Page
> Cc: Ludek Finstrle; Johann Zuschlag; Hiroshi Inoue;
> pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] psqlODBC-Driver Test / text fields
>
> Let's try read and it's ancestor:
> http://archives.postgresql.org/pgsql-odbc/2006-03/msg00188.php

I'm not sure I understand that that test is actually valid anyway. Consider the test query:

select name from kunde where name >= 'ö';

If 'ö' is 'ö', then isn't the query above mixing single and a multibyte encoding? Ie. It should all be single byte -
e.g.

select name from kunde where name >= 'ö' order by name asc;

Or all multibyte (displayed byte by byte) whatever that results in:

s*e*l*e*c*t* *n*a*m*e* *f*r*o*m* *k*u*n*d*e* *w*h*e*r*e* *n*a*m*e* *>*=* *'*ö'*;*

Of course, we all know how well I grok encoding issues :-)

Regards, Dave.

pgsql-odbc by date:

Previous
From: Ludek Finstrle
Date:
Subject: Re: psqlODBC-Driver Test / text fields
Next
From: Ludek Finstrle
Date:
Subject: Re: psqlODBC-Driver Test / text fields