This documentation is archived and is not being maintained.

_mbctohira, _mbctokata

Convert between hiragana and katakana characters.

unsigned int _mbctohira(
   unsigned int c 
unsigned int _mbctokata(
   unsigned int c 


Multibyte character to convert.

Return Value

Each of these functions returns the converted character c, if possible. Otherwise it returns the character c unchanged.


The _mbctohira and _mbctokata functions test a character c and, if possible, apply one of the following conversions.

Routine Converts
_mbctohira Multibyte katakana to multibyte hiragana
_mbctokata Multibyte hiragana to multibyte katakana

In previous versions, _mbctohira was called jtohira and _mbctokata was called jtokata. For new code, use the new names instead.


Routine Required header Compatibility
_mbctohira <mbstring.h> Win 98, Win Me, Win NT, Win 2000, Win XP
_mbctokata <mbstring.h> Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.


All versions of the C run-time libraries.

See Also

Data Conversion Routines | _mbcjistojms | _mbctolower | _mbctombb | Run-Time Routines and .NET Framework Equivalents