Update character test functions
Use wide-character version of isalnum() and isspace()
Support full-width digit and alphabetic letter