[Text Search] Recognize unicode files

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
compie
Junior Member
Junior Member
Posts: 93
Joined: 2003-07-06, 18:47 UTC

[Text Search] Recognize unicode files

Post by *compie »

When searching for text inside files, I have to check the "Unicode" checkbox, otherwise the search won't file the text in unicode files.

For example:
When I search for text in Windows registry (.reg) files, the default search doesn't find anything! I have to enable Unicode to find the text.

This behavior is fundamentally broken. Users don't know anything about the encoding of their files. They just want search to work.

P.S. Explorer finds unicode files automatically.
compie
Junior Member
Junior Member
Posts: 93
Joined: 2003-07-06, 18:47 UTC

Post by *compie »

No comments?

IMHO this is a major bug/problem. For end users it means that searching for text is less reliable than searching for text with explorer.
If Total commander finds no files I have to restart the search again with the unicode checkbox turned on.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, compie.

Your complaint is absolutely valid. The default text search should take Unicode into consideration. The user should not have to tick a check box for it.

I assume your complaint has not received too much feedback, because it is a known deficiency of Total Commander that it supports Unicode only half-heartedly. This deficiency has been discussed extensively in several threads in the past.

Total Commander v7.5 will introduce full Unicode support at last.

Kind regards,
Karl
User avatar
Peter
Power Member
Power Member
Posts: 2068
Joined: 2003-11-13, 13:40 UTC
Location: Schweiz

Post by *Peter »

karlchen wrote:...Total Commander v7.5 will introduce full Unicode support at last....
Seem NOT to be solved in 7.50. I searched my REGs too without success, until I saw the problem ...

Peter
TC 10.xx / #266191
Win 10 x64
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I must say that Explorer is also not so good as you think. If you have Unicode file w/o BOM (byte order mark), Explorer won't find text in this file. You may try to create 3 files with same text - plain.txt, uni.txt and uni_bom.txt - first in ANSI, second and last in Unicode but with and w/o BOM. Then start search entered text using Explorer and TC (both with and w/o Unicode checkbox). Explorer won't find file uni.txt at all but TC will find it with Unicode checkbox.

So it is great that TC allows to specify what to search - Unicode or plain text.

But it would be great if Unicode checkbox has third state (filled out) to search both Unicode and non-Unicode string - i.e. to search two strings simultaneously.
User avatar
Reza
Junior Member
Junior Member
Posts: 8
Joined: 2009-07-19, 14:57 UTC

Post by *Reza »

But it would be great if Unicode checkbox has third state (filled out) to search both Unicode and non-Unicode string - i.e. to search two strings simultaneously.
Hi MVV
you are right it's a so good idea
I am pained from this deficiency also :cry:
Post Reply