Hello,
I have a UTF-8 and UTF-16 files containing just two lines:
अत्याचार m Deviating from prescribed observances.Outrage.
अदेसा m Doubt,apprehension,surmise.
If I open such a file in Lister and press DOWN_ARROW (or END, RIGHT_ARROW, ...) at the moment when the blinking caret is visible then it remains visible as a ghost caret at the previous position.
Thanks, Tom
[9.0 b13 x64]: Lister - caret glitch in UTF-8/16 file
Moderators: Hacker, petermad, Stefan2, white
I can confirm that this happens only for TC x64 and also back in TC 8.5x.
And it is definitely related to a byte order mark (BOM) at the beginning of the file, no matter if for UTF-8 or UTF-16.
The actual text doesn't seem to matter, you can even put ASCII-only characters in the file and Lister will show this very behavior when the file has a BOM.
Additionally, as soon as you switch to another window and back to the Lister window, this "dangling" cursor won't show any more.
And it is definitely related to a byte order mark (BOM) at the beginning of the file, no matter if for UTF-8 or UTF-16.
The actual text doesn't seem to matter, you can even put ASCII-only characters in the file and Lister will show this very behavior when the file has a BOM.
Additionally, as soon as you switch to another window and back to the Lister window, this "dangling" cursor won't show any more.
TC plugins: PCREsearch and RegXtract
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, I can reproduce the problem. And it really seems to be caused by the byte order marker. It doesn't happen if you press Cursor right and then cursor left before you press cursor down.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50550
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: