From: Jon Hanna (jon@hackcraft.net)
Date: Thu Feb 12 2004 - 07:37:46 EST
Quoting Deepak Chand Rathore <deepakr@aztec.soft.net>:
> Is there a way to extract the code page of the current program locale in
> windows( in c++, vc compiler) (set by a call to setlocale function).
> _getmbcp() returns zero (not the cod page )if code page is single byte
> On unix, nl_langinfo(CODESET) returns the code page of the locale set by
> setlocale
>
I'm not sure, but GetLocaleInfo seems to allow you to obtain codepage info if
you know the locale id.
<http://msdn.microsoft.com/library/en-us/intl/nls_34rz.asp>
-- Jon Hanna <http://www.hackcraft.net/> *Thought provoking quote goes here*
This archive was generated by hypermail 2.1.5 : Thu Feb 12 2004 - 08:29:53 EST