Quoting Deepak Chand Rathore <[EMAIL PROTECTED]>: > 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*

