Internationalization and localization tools


Character Manipulation Function

int isblank(int c);

int iswblank(wint_t wc);

Internationalization (I18n) Function Overview

The isblank function returns true if c is a blank character; that is, a space or a tab.

The iswblank function is the wide version of the isblank function and returns true if wc is a blank character.

I18n Issues

There is no UTF-8 version of isblank. Instead, convert the multibyte character to a wide character and call iswblank.

Prior to calling iswalnum, ensure that the locale is set correctly, since the result of the test condition depends on the locale's LC_CTYPE category setting.

Recommended Replacements*

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

Character Manipulation Functions

 

Lingoport internationalization and localization services and software