Fix double quoting inside single quoted string
Fix character set not accepting escapes chars
Fix some test programs