Re: mess code with english window edition, please help!

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



setlocale() in C. SetThreadLocale() for working in the raw API. There are also
SetLocale() methods for controls which apparently override the general thread locale.
joe



On Fri, 2 Feb 2007 16:35:48 +0800, "Lazytiger" <baihaoping@xxxxxxxxx> wrote:

Hello everyone,
I have a C/S program, and the protocol is encoding with GBK,the server
is written with java, which provide a global parameter to set the default
encoding type, does c++ has the same function? or what should I do if I
don't want to hard encoding every request and response?
Thanks very much!

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.