Crude test code for UTF-8 decode.  Fix decode issue.