[TC 11.50b2] Lister: UTF-8 view, cursor movement wrong on unicode ellipsis character

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
white
Power Member
Power Member
Posts: 5969
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC 11.50b2] Lister: UTF-8 view, cursor movement wrong on unicode ellipsis character

Post by *white »

Lister: UTF-8 view, cursor movement wrong on unicode ellipsis character.
  • Save the unicode ellipsis character in a file with UTF-8 BOM encoding. (hex code: EF BB BF E2 80 A6)
  • Configure Lister to use font Consolas (Standard, Size 10,Western) for ANSI.
  • View the file in Lister.
  • If there is no cursor then press F6 to show cursor.
  • Press A (ANSI view)
  • Press arrow right (cursor is after character)
  • Press arrow left (cursor is still after character)
User avatar
norfie²
Power Member
Power Member
Posts: 1040
Joined: 2006-02-10, 07:27 UTC

Re: [TC 11.50b2] Lister: UTF-8 view, cursor movement wrong on unicode ellipsis character

Post by *norfie² »

Confirmed. You need to press the “Left” button three times to move the cursor back. The error also occurs with Segoi UI with variable font width.
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50824
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b2] Lister: UTF-8 view, cursor movement wrong on unicode ellipsis character

Post by *ghisler(Author) »

Seems to be a Windows bug.

Moderator message from: ghisler(Author) » 2024-10-21, 10:15 UTC

Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
User avatar
norfie²
Power Member
Power Member
Posts: 1040
Joined: 2006-02-10, 07:27 UTC

Re: [TC 11.50b2] Lister: UTF-8 view, cursor movement wrong on unicode ellipsis character

Post by *norfie² »

The TCmd is the only program that shows the error. CudaLister-Plugin, ULister-Plugin, Notepad++ work fine
"War is evil, in so far as it makes more bad people than it takes away."
Immanuel Kant in "Perpetual Peace"
User avatar
white
Power Member
Power Member
Posts: 5969
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC 11.50b2] Lister: UTF-8 view, cursor movement wrong on unicode ellipsis character

Post by *white »

ghisler(Author) wrote: 2024-10-21, 10:15 UTC Seems to be a Windows bug.
It happens for all multi-byte characters on the last line of a file (line without line break) when the character is the last character or the character before that. How is that a Windows bug?
Post Reply