Fix unrecognised escape sequences