_getmbcp

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _getmbcp.

Retrieves the current code page.

int _getmbcp( void );  

Returns the current multibyte code page. A return value of 0 indicates that a single byte code page is in use.

RoutineRequired header
_getmbcp<mbctype.h>

For more compatibility information, see Compatibility in the Introduction.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

_setmbcp

Show: