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
Sombra
Power Member
Posts: 814 Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain
Post
by *Sombra » 2010-03-31, 17:04 UTC
Select text and copy with mouse seems don't work properly with utf-7 text.
For reproduce, follow the next steps:
Download this text files (it is codified in utf-7) http://www.breto.net/totalcmd/temp2/utf7_test.txt
Open downloaded file with lister F3 (if you have a plugin for view txt files, then open it without plugins with alt+shift+F3)
Press key 1 in lister for show as "text only"
Change codification to UTF-7. For do it, go to menu Encoding > Other > ant type codepage 65000 (now the text is shown correctly)
If cursor in lister is disabled, enable it with F6
Set cursor at begin of line
Issue 1: press Shift+END for select the whole line. The line is not selected as is expected
Issue 2: Select the line with mouse and copy to clipboard. Now Paste in a blank file. Not all text was copied.
I can read English, but... I write like Tarzan. (sorry)
ghisler(Author)
Site Admin
Posts: 50505 Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:
Post
by *ghisler(Author) » 2010-04-01, 13:16 UTC
Indeed none of the UTF encodings is supported well in Lister '1' mode, sorry. The reason is that they can use more than 2 bytes per character. I'm sorry, there is currently no way to make them work better. Maybe I should disallow UTF-7 completely until I find a solution.