vte resynchrones too late on invalid UTF-8
@egmontkob
Submitted by Egmont Koblinger Link to original bug (#317236)
Description
Version details: 0.11.15
The UTF-8 decoder resynchronizes too late if it encounters an invalid sequence near the end of the line.
Try this command: echo -e 'a\341' ; echo -e 'a\341b' ; echo -e 'a\341bc'
Expected result (changing the replacement character to a question mark here): a? a?b a?bc
Actual result: a a a?bc
So in the first two cases the output is incorrect, it swallows the invalid byte as well as the next ascii letter.
Version: 0.11.x
Resolution: RESOLVED FIXED