[unixODBC-support] Query char encoding

Nick Gorham nick at lurcher.org
Thu Jul 25 23:17:27 BST 2013

On 25/07/13 20:06, Frank A. U. wrote:
> Hello,
> Lets say the application decides to use the ANSI API.  How does the
> application know what the char encoding is?

It doesnt.
> I'd think that there's an API for querying this information or telling
> ODBC what encoding the application wants.
Well, you might think that, but TBH, ODBC is not from a time where there 
were char encodings, the idea was that if you wanted unicode you used 
the W functions and all was well. Those were the days :-)


More information about the unixODBC-support mailing list