If the character is non-ASCII, escape it hexidecimally.

Thanks to Paul Oppenheimer for the bug report.

flxes #12