Internationalization and localization tools


Wide Character Manipulation Function

wctrans_t wctrans(const char *property);

Internationalization (I18n) Function Overview

The wctrans function returns the mapping from one type of wide characters to another. If property exists for the current locale, then the return can be used in calls to towctrans; otherwise, 0 is returned.

Convenient shortcuts are defined for the generally available mappings. For example:
tolower(c) is the same as towctrans(c, wctrans("towlower")).

I18n Issues

Prior to calling wctrans, ensure that the user's locale is set correctly.

Recommended Replacements*

There are no variations of this wide character function.

*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.

Wide Character Manipulation Functions

 

Lingoport internationalization and localization services and software