unicharIsspace

Determines whether a character is a space, tab, or line separator (newline, carriage return, etc.). Given some UTF-8 text, obtain a character value with glib.global.utf8GetChar.

(Note: don't use this to do word breaking; you have to use Pango or equivalent to get word breaking right, the algorithm is fairly complex.)

bool
unicharIsspace
(
dchar c
)

Parameters

c dchar

a Unicode character

Return Value

Type: bool

true if c is a space character