Internationalization and localization tools


Multibyte Character Function

unsigned int _mbctokata(unsigned int c);

Internationalization (I18n) Function Overview

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

I18n Issues

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

In an internationalized application, a function such as _mbctokata, which operates on a specific character set (Hiragana 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