[unixODBC-support] HELP

Nick Gorham nick at lurcher.org
Fri Jan 28 11:40:53 GMT 2011

On 28/01/11 10:59, Lizarazu Hernando, Juncal wrote:
> Hi everybody,
> I have some trouble with the driver manager unixODBC and MySQL working 
> in UNICODE. I do not know if I am doing something wrong. I am working 
> with:
> - driver unixODBC-2.3.0
> - connector of MySQL: libmyodbc5.so

If you want to use wchar_t unicode, you have to make sure that the 
driver manager is built with SQL_WCHART_CONVERT as well as it being 
defined before you use sqltypes.h. But also the driver will need to have 
been built that way.

The default is 16 bit unicode.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20110128/86b5152d/attachment-0001.html>

More information about the unixODBC-support mailing list