Problems with in-place rename and unicode chars

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
funkymonk
Senior Member
Senior Member
Posts: 493
Joined: 2013-12-04, 09:56 UTC

Problems with in-place rename and unicode chars

Post by *funkymonk »

TC11.00rc1 x32

Just encountered:

Create a file

Code: Select all

testݒ.pdf   -- the last char is a randomly chosen unicode character. Here: U+0752
With "RenameSelOnlyName=1", hit Shift+F6 on the file.

What I get is:
  1. The entire file name "testݒ" without ".pdf" is selected. Ok.
    But: the cursor is right *before* the unicode char. Shouldn't it be right before the dot?
  2. Press the "right" key: The selection disappears and the cursor stays where it was (right *before* the unicode char). Ok.
    But: When hitting the del key, the unicode char is *not* deleted but the dot is removed (and the cursor stays where it was).
Here is more:

With the original file name, hit Shift+F6 -> right -> right:
With the bug from 1., the cursor should now be in front of the dot but it is after the dot.
Now hit backspace: the dot is removed (ok) but the cursor jumps to before the unicode char.


It seems that the problems are gone once the last char of the file name is a regular ansi char.
Maybe there is more issues with in-place rename and unicode chars in file names...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Problems with in-place rename and unicode chars

Post by *ghisler(Author) »

Not a bug.

That's an Arabic character which is read from right to left.
https://www.compart.com/en/unicode/U+0752
Moving the cursor through a mix of left to right and right to left characters is really weird. Try going through the entire name with just the right cursor key and you will understand what I mean.

Moderator message

Moved to English forum
Author of Total Commander
https://www.ghisler.com
Post Reply