Multibyte Character Function
int _mbbtype(unsigned char c, int type);
Internationalization (I18n) Function Overview
The _mbbtype function returns the type of the byte c within a multibyte character,
using the type argument, which is the type of the byte preceding c .
The possible values for the type argument and for the function return are:
_MBC_SINGLE (0) to indicate a single-byte character.
_MBC_LEAD (1) to indicate a leading byte of a multibyte character.
_MBC_TRAIL (2) to indicate a trailing byte of a multibyte character.
_MBC_ILLEGAL (-1) to indicate an illegal byte.
I18n Issues
_mbbtype should only be called with multibyte characters; there are no other
versions of this function. In addition, _mbbtype depends on the multibyte code page in effect. By default, the multibyte code page
is set to the system-default ANSI code page obtained from the operating system at program startup.
Use _getmbcp and _setmbcp to query or change
the current multibyte code page, respectively.
Recommended Replacements*
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Multibyte Character
Functions
|