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.
Post Reply
samsam598
Super wx Problem Solver
Super wx Problem Solver
Posts: 340
Joined: Mon Oct 06, 2008 12:55 pm

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

Post by samsam598 »

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 10 64bit
VS Community 2019
msys2-mingw13.2.0 C::B character set: UTF-8/GBK(Chinese)
wxWidgets 3.3/3.2.4 Unicode Mono Static gcc static build
Post Reply