Correctly handle unrecognized escape errors