Checks if the wide character is a decimal digit.
bool iswdigit(int wc) { return wc >= 48 && wc <= 57; }