[Qt-interest] odbc driver and unicode support

Robert Hairgrove evorgriahr at hispeed.ch
Fri Feb 12 00:00:41 CET 2010


wim.delvaux at adaptiveplanet.com wrote:
> Hi all,
> 
> I have mysql and odbc/connector under windows 
> Both should be able to support utf8.
> 
> However the data returned to Qt does not show properly.  I.e. binary the data 
> is present (utf8 character is there) but it is not translated to the proper 
> character (binary character remain in output string).
> 
> I ran driver->hasFeature( QSqlDriver::Unicode) on the odbc driver and it 
> returns FALSE.  Is that because the odbc driver of Qt is not compiled with 
> unicode support or that the underlying odbc driver (here mysql connector) does 
> not support unicode ?).
> 
> I use the Qt 4.6.1 -mingw32 version downloaded from Qt site.
> 
> 
> W

Which version of Windows is it?



More information about the Qt-interest-old mailing list