Checks if the wide character is a punctuation character.
bool iswpunct(int wc) { return iswprint(wc) && !iswalnum(wc) && !iswspace(wc); }