--000e0cd72a50c9b4e8047c5218f8
Content-Type: text/plain; charset=ISO-8859-1
Hi ,
I have an MFC application built with unicode characterset enabled (so
CString and the MFC API's expects wide characters) and the postgres db as
backend which is EUC - JP encoded.
Iam accessing my DB using CRecordset for reading the tables and direct query
execution using ExecuteSQL for updation., Both these MFC functions expects
wide strings of *2 bytes *but my DB is multibyte encoded of *1 byte*. Can
anyone please let me know how to handle this scenario of Unicode application
with multibyte encoded DB.
Thanks
Krish
--000e0cd72a50c9b4e8047c5218f8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi ,<div><br></div><div>I have an MFC application built with unicode charac=
terset enabled (so CString and the MFC API's expects wide characters) a=
nd the postgres db as backend which is EUC - JP encoded.=A0</div><div><br>
</div><div>Iam accessing my DB using CRecordset for reading the tables and =
direct query execution using ExecuteSQL for updation., Both these MFC funct=
ions expects wide strings of <b>2 bytes </b>but my DB is multibyte encoded =
of <b>1 byte</b>. Can anyone please let me know how to handle this scenario=
of Unicode application with multibyte encoded DB.</div>
<div><br></div><div>Thanks</div><div>Krish</div>
--000e0cd72a50c9b4e8047c5218f8--
