Internationalization and localization tools


Multibyte Character Function

unsigned int _mbctohira(unsigned int c);

Internationalization (I18n) Function Overview

The _mbctohira function converts a multibyte Katakana character to a multibyte Hiragana character, and returns the converted character if successful; else it returns the original, unconverted character.

I18n Issues

_mbctohira should only be called with multibyte characters; there are no other versions of this function.

In an internationalized application, a function such as _mbctohira, which operates on a specific character set (Katakana in this case), should not be used. Instead, the user's locale should determine the multibyte character set of the application, and generic multibyte functions should be used to operate on the multibyte character strings.

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

 

Lingoport internationalization and localization services and software