Unicode problem with DatabaseLayer1.8 for wx2.9.0 with ODBC

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
samsam598
Super wx Problem Solver
Super wx Problem Solver
Posts: 324
Joined: Mon Oct 06, 2008 12:55 pm

Unicode problem with DatabaseLayer1.8 for wx2.9.0 with ODBC

Postby samsam598 » Mon Aug 09, 2010 6:14 am

Greetings!

I built DatabaseLayer1.8 as a static lib with Mingw3.4.5 under wx2.9.0 successfully.When I tried to connect to MS Access dabase(*.mdb),it works fine except when I insert a new record if it contains Chinese characters.The new record can be inserted successfully by parameterized query.But when I check the result database under MS Access,the chinese font is a mess to recognization.

Does anybody else meet the same problem before? My wx2.9.0 is a build of SHARED=0 MONOTHIC=1 UNICODE=1.And the source code of the test program is in UTF8 format.Your help would be much appreciated.

Regards,
Sam
Regards,
Sam
-------------------------------------------------------------------
Windows xp
VS.Net 2003/MinGW 3.4.5 C::B character set: UTF-8
wxWidgets github 3.0 RC1 Unicode Static build,Unicode Shared build.

Return to “wxCode”

Who is online

Users browsing this forum: No registered users and 4 guests