[Konsole-devel] [Bug 139169] Random display corruption in UTF-8 mode
Robert Knight
robertknight at gmail.com
Sun Feb 4 17:11:02 UTC 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=139169
------- Additional Comments From robertknight gmail com 2007-02-04 18:11 -------
> Perhaps the corrupted character's encoded form is split between
> two fixed-size buffers (given the look of corrupted display)...
I thought about that, but internally Konsole uses a Qt class to do the decoding which can remember state information between calls. So if you decode a buffer which ends with the first half of a two-byte character, that final character will not be added to the output until the other half is available when the next batch of input comes in. But yes, I agree that I think this is where something may be going wrong.
I cannot reproduce the problem in KDE 3, but under KDE 4 it does not show up if you execute:
cat file-attached-to-this-report | sed ''
Can anyone who is able to reproduce this in KDE 3 try running the above command?
More information about the konsole-devel
mailing list