View Single Post

   
  #3 (permalink)  
Old 04-16-2008, 03:01 AM
zhaoxin
 
Posts: n/a
Default Re: Qustions about psqlODBC 08.02

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
>


--

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote