Re: extracting code page of current locale

From: Jon Hanna (
Date: Thu Feb 12 2004 - 07:37:46 EST

  • Next message: "Re: Canadian Unified Syllabics"

    Quoting Deepak Chand Rathore <>:

    > 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.


    Jon Hanna
    *Thought provoking quote goes here*

    This archive was generated by hypermail 2.1.5 : Thu Feb 12 2004 - 08:29:53 EST