Fix a bug in UTF-8 parsing caused by signed chars.

refs #1353