Search & checked 'Find Files NOT containing the text' does list some files containing the text

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
GerA
Junior Member
Junior Member
Posts: 9
Joined: 2012-07-18, 14:02 UTC
Location: NL

Search & checked 'Find Files NOT containing the text' does list some files containing the text

Post by *GerA »

Hello,

Today I had an issue finding files not containing a text in TotalCommander 10.00 64 bit.

My search settings are:

Search for '*.txt'
Find text 'printer'
Find files NOT containing the text: Checked
ANSI charset (Windows): Checked

The files are in a folder with many subfolders and several levels deep.
The Search results contained files that had the specified text.
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: Search & checked 'Find Files NOT containing the text' does list some files containing the text

Post by *Gral »

Maybe the found files are unicode encoded?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Search & checked 'Find Files NOT containing the text' does list some files containing the text

Post by *ghisler(Author) »

That's my guess too. Try viewing the file with F3, then press "1" to switch to ANSI (plain text).
Author of Total Commander
https://www.ghisler.com
GerA
Junior Member
Junior Member
Posts: 9
Joined: 2012-07-18, 14:02 UTC
Location: NL

Re: Search & checked 'Find Files NOT containing the text' does list some files containing the text

Post by *GerA »

Hi Gral and ghisler(Author),

thanks for the reply.

Inspection of the specific files showed that encoding was UTF-16 LE with BOM. Activating Unicode UTF16 gave the correct search results.

Keep up the good work!
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Search & checked 'Find Files NOT containing the text' does list some files containing the text

Post by *Hacker »

Moderator message from: "Hacker"

Moved to the English forum.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply