Re: Qustions about psqlODBC 08.02 - Mailing list pgsql-odbc

From zhaoxin
Subject Re: Qustions about psqlODBC 08.02
Date
Msg-id 448FFC94.6060202@necas.nec.com.cn
Whole thread Raw
In response to Re: Qustions about psqlODBC 08.02  (Bart Samwel <bart@samwel.tk>)
List pgsql-odbc
To:Bart

Thanks for you response .

>
> As you can see, it's Unicode versus ANSI. You obviously used the ANSI
> driver in the 8.01 series. It's correct, really -- the driver merely

But I am sure that I used the Unicode driver with the default settings .
it need some other setting ?

> specifies that the data that it has is Unicode data. If you want to
> retrieve it using ANSI encoding, that's no problem, just request the
> columns using the SQL_C_CHAR type to indicate that you want to get your
> data back in a single-byte ANSI encoding.

What differents between Unicode and ANSI driver in usage ?
if I want to get the same behavior from 8.02 with 8.01 driver
that I used , how can I do ?

 BTW I don't understand the words :
     " just request the columns using the SQL_C_CHAR type ",
Could you give me a example ? thank you very much !

Regards,
zhao


> Cheers,
> Bart
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
>

--

pgsql-odbc by date:

Previous
From: Ludek Finstrle
Date:
Subject: Re: Access97/odbcUnicode/pgsql : unable to map text field
Next
From: ioguix
Date:
Subject: Re: Access97/odbcUnicode/pgsql : unable to map text field