Fix char escape bug

E.g., '\^A' is supposed to be '\1', not '\0'. (Also, '\0' is '\^@'.)
Merge pull request #22 from andy-morris/patch-1

Fix char escape bug