wxWidgets and PostgreSQL
Ayen Yang
ayen.krida at gmail.com
Fri Nov 2 06:12:16 PDT 2007
Hello Everyone,
Since the ODBC class will be discontinued, I tried to use the native
library of PostgreSQL to access the database.
I tried to get some data from a table and put them in a ListCtrl. I
found a problem that the character displayed in the ListCtrl somehow
'scrambled' and cannot be read (some of the characters look like
Chinese and Korean).
I think the problem is in the conversion from the PQgetvalue() to
wxString, but I don't know for sure.
I've tried many of wxString conversion functions, but the result is
still the same.
Does anyone ever experience the same problem? Please help me.
Thanks in advance,
Ayen
More information about the wx-users
mailing list