--- rxvt-unicode/src/command.C 2012/06/29 13:57:26 1.523 +++ rxvt-unicode/src/command.C 2012/08/14 20:32:48 1.524 @@ -2389,6 +2389,8 @@ if (len == (size_t)-1) { mbstate.reset (); // reset now undefined conversion state + // a -1 might indicate that a previous incomplet char is invalid (previous return -2) + // in which case we "errornously" return the next byte which might be valid. return (unsigned char)*cmdbuf_ptr++; // the _occasional_ latin1 character is allowed to slip through }