uisok - Man Page

Low level helper function for testing Unicode text data. Allegro game programming library.

Synopsis

#include <allegro.h>

int uisok(int c);

Description

Low level helper function for testing Unicode text data. Finds out if the character value `c' can be encoded correctly in the current format, which can be useful if you are converting from Unicode to ASCII or another encoding format where the range of valid characters is limited.

Return Value

Returns non-zero if the value can be correctly encoded, zero otherwise.

See Also

ugetc(3), ugetx(3), usetc(3), uwidth(3), ucwidth(3)

Referenced By

register_uformat(3), set_uformat(3), ucwidth(3), ugetc(3), ugetx(3), uisdigit(3), uisspace(3), usetc(3), utolower(3), utoupper(3), uwidth(3).

version 4.4.3 Allegro manual