throw errors for malformed character codes in string literals