B W wrote:
Assuming these are UTF8 characters, the encoding is backwards compatible with ASCII. Therefore, you should be able to use the ASCII chart to classify non-printable character codes (0-31 and 127).
There's no standard ASCII code for arrow keys, however, and I've seen at least some systems translate them into non-ASCII unicode characters. -- Greg