is_char_mb

Syntax

native is_char_mb(ch);

Usage

ch
Character to test.

Description

Returns if a character is multi-byte or not.

Note

Only available in 1.8.3 and above.

Return

0 for a normal 7-bit ASCII character,
otherwise number of bytes in multi-byte character.