wildchartomultibyte issue on applying registry settings.

Hi all,

In one of my project I need to support UTF-8. Current code is using wcstombs where Chinese is not getting converted properly. I replaced the wcstombs with WideCharToMultiByte. After testing this works fine.

But in one of the old machine windows XP sp3 with say Chinese or CZech Registry settings is installed. There the application is behaving differently.

When I use wcstombs on opertator overloading of "<<" its working fine. When I use WideCharToMultiByte on the same its not working as expected.

Without the change in registry setting, WideCharToMultiByte is working fine.

Can any one help me how will it make the difference when we apply language registry changes??


Thanks
Vijay
Registered users can post here. Sign in or register to post.