DOKK / manpages / debian 10 / allegro4-doc / uisok.3alleg4.en
uisok(3alleg4) Allegro manual uisok(3alleg4)

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

#include <allegro.h>

int uisok(int c);

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.

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

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

version 4.4.2 Allegro