Lister: wrong search for whole words
Moderators: Hacker, petermad, Stefan2, white
Lister: wrong search for whole words
From forum.wincmd.ru
1. Open text in Lister
2. Switch to OEM ("ASCII, DOS Charset")
3. Search for a word, check "Whole words only"
-- All strings are found ,even non words,
"файл" is found even inside "файлов".
WinXP SP2, TC 7.02
1. Open text in Lister
2. Switch to OEM ("ASCII, DOS Charset")
3. Search for a word, check "Whole words only"
-- All strings are found ,even non words,
"файл" is found even inside "файлов".
WinXP SP2, TC 7.02
Last edited by Alextp on 2007-11-04, 10:09 UTC, edited 1 time in total.
2Alextp
ASCII (DOS Charset)
And if so, then I can not confirm it.
But while testing this I discovered this more serious bug: http://ghisler.ch/board/viewtopic.php?p=137388
Do you mean:2. Switch to OEM ("DOS")
ASCII (DOS Charset)

And if so, then I can not confirm it.
But while testing this I discovered this more serious bug: http://ghisler.ch/board/viewtopic.php?p=137388
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It must be a problem with Russian because I cannot confirm it with German accents.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Strange... Bug confirmed, but only in this way:
- open ascii file in Akelpad, turn on ASCII mode if not detected automatically.
- select and copy word "файл"
- past it into Akelpad's or Lister's search dialog.
It will looks like "д ©«". Press 'Find' - word "файл" will be selected.
However, if you'll type "файл" in TC's or Akelpad's search dialog manually (or past it after copying from ANSI file), both Lister and Akelpad find nothing...
- open ascii file in Akelpad, turn on ASCII mode if not detected automatically.
- select and copy word "файл"
- past it into Akelpad's or Lister's search dialog.
It will looks like "д ©«". Press 'Find' - word "файл" will be selected.
However, if you'll type "файл" in TC's or Akelpad's search dialog manually (or past it after copying from ANSI file), both Lister and Akelpad find nothing...
2DrShark
This is probably another "bug", I often found, but never reported yet (sorry): http://ghisler.ch/board/viewtopic.php?t=19016However, if you'll type "файл" in TC's or Akelpad's search dialog manually (or past it after copying from ANSI file), both Lister and Akelpad find nothing...
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
This bug fixed.Alextp wrote:-- All strings are found ,even non words,
"файл" is found even inside "файлов".
However, another problem still exists:
if "Whole words only" not checked and search string will be "файл", it will be converted to "д ©«" when pressing Ctrl+F second time.
Search for "д ©«" -> nothing found.
upd: "файл" will be conerted to "д ©«" even with "Whole words only" checked after next steps:
Ctrl+F "файл" -> OK -> Shift+F3 -> Ctrl+F
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for confirming the fix!
Cannot reproduce, sorry. Please submit a new bug report in the new bugs forum and give me more details, e.g. view mode etc.if "Whole words only" not checked and search string will be "файл", it will be converted to "д ©«" when pressing Ctrl+F second time.
Search for "д ©«" -> nothing found.
upd: "файл" will be conerted to "д ©«" even with "Whole words only" checked after next steps:
Ctrl+F "файл" -> OK -> Shift+F3 -> Ctrl+F
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com