Wide Character Manipulation Function
int wcwidth(wchar_t wc);
Internationalization (I18n) Function Overview
The wcwidth() function determines the number of column positions required for the wide character wc . The value of wc must be a character representable as a wchar_t , and must be a wide-character code corresponding to a valid character in the current locale.
I18n Issues
Prior to calling wcwidth , ensure that the user's locale is set correctly.
There is no ANSI multibyte UTF-8 version of this function. A UTF-8 character however can be converted to a wide character (wchar_t ) and then wcwidth can be used.
Recommended Replacements*
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Wide Character Manipulation Functions
|