C++ Programming
08-07-2009, 11:29 AM
Hello all.
I'm again bringing up this problem because my last thread regarding this problem dissolves in lot's of thread here, Hoping to find answer this time.
I am extracting the data in "Simplified Chinese" from database and writing the data into file(Notepad).. In other words i'm making many LAN Files from single database. It works well, I'm getting right data in LAN Files...
Now the problem is that the project is pretty big and old applications are using ReadPrivateProfileString to read from LAN files, But when they(applications) read "Simplified Chinese" LAN files they get Junk or question mark instead of Simplified Chinese characters.. Also when i tried reading and displaying using ReadPrivateProfileStringW it works well but i cannot alter old applications code..
So my question is that, Is there any way i can read that data in simplified chinese using ReadPrivateProfileString and able to display right data on GUI.
P.S
I make different LAN files using different ******** databases including "Traditional Chinese" and it works well, Only Simplified Chinese is creating problem.
Thanks.
I'm again bringing up this problem because my last thread regarding this problem dissolves in lot's of thread here, Hoping to find answer this time.
I am extracting the data in "Simplified Chinese" from database and writing the data into file(Notepad).. In other words i'm making many LAN Files from single database. It works well, I'm getting right data in LAN Files...
Now the problem is that the project is pretty big and old applications are using ReadPrivateProfileString to read from LAN files, But when they(applications) read "Simplified Chinese" LAN files they get Junk or question mark instead of Simplified Chinese characters.. Also when i tried reading and displaying using ReadPrivateProfileStringW it works well but i cannot alter old applications code..
So my question is that, Is there any way i can read that data in simplified chinese using ReadPrivateProfileString and able to display right data on GUI.
P.S
I make different LAN files using different ******** databases including "Traditional Chinese" and it works well, Only Simplified Chinese is creating problem.
Thanks.