path contain null characters,search result is null。

Found a bug in "Everything"? report it here
Post Reply
sword202307
Posts: 3
Joined: Thu Jul 27, 2023 2:56 pm

path contain null characters,search result is null。

Post by sword202307 »

Hello,

search result is null,
because of :the path contain null characters;
please tell me , how to solve it。
thanks!

system:Windows10


Bugreport.png
Bugreport.png (96.32 KiB) Viewed 7295 times
Attachments
Bugreport.zip
(93.07 KiB) Downloaded 269 times
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: path contain null characters,search result is null。

Post by NotNull »

Post the path between double quotes:

Code: Select all

"BOM  更新 2021-08-22"
2023-07-27 17_45_18-_BOM  更新 2021-08-22__ - Everything (1.5a) 1.5.0.1347a (x64).png
2023-07-27 17_45_18-_BOM 更新 2021-08-22__ - Everything (1.5a) 1.5.0.1347a (x64).png (27.24 KiB) Viewed 7289 times
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: path contain null characters,search result is null。

Post by therube »

Are these in fact "null" ($00$, not NotNull) characters in the pathname?

I don't seem to need quotes, & do see expected results on my end?
C:\TMP\BRU\ä,ö,ü,ß\ä,ö,ü,ß\X\hi there ä,ö,ü,ß you swine\Bugreport\Bugreport\BOM 更新 2021-08-22\


On my end, on extraction (with 7-zip) I'm seeing spaces ($20$) in the pathnames.
(unzip won't "correctly" extract the "unicode" part of the name.)
sword202307
Posts: 3
Joined: Thu Jul 27, 2023 2:56 pm

Re: path contain null characters,search result is null。

Post by sword202307 »

hello :

(unzip won't "correctly" extract the "unicode" part of the name.)

===>> maybe because of the folder name contains chinese characters ;
1.png
1.png (2.45 KiB) Viewed 7232 times
===>> I have change the folder name to english characters ;
===>> please try it
===>> thanks
Attachments
Bugreport.zip
(92.66 KiB) Downloaded 277 times
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: path contain null characters,search result is null。

Post by void »

These are spaces, not NULL characters.



A space in your search means AND



Everything sees the search:

C:\Users\Claire\Desktop\ssd\BOM 更新 2021-08-22\

as:

C:\Users\Claire\Desktop\ssd\BOM AND 更新 AND 2021-08-22\
(this will likely not match anything)



Please use double quotes (") to escape spaces

"C:\Users\Claire\Desktop\ssd\BOM 更新 2021-08-22\"

-or-

Enable Search -> Match Path and search for:
C:\Users\Claire\Desktop\ssd\BOM 更新 2021-08-22\
sword202307
Posts: 3
Joined: Thu Jul 27, 2023 2:56 pm

Re: path contain null characters,search result is null。

Post by sword202307 »

the path null characters is use keyboard space key input
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: path contain null characters,search result is null。

Post by therube »

I don't seem to need quotes, & do see expected results on my end?
Ah, I had (match) PATH enabled, & that is the reason it "worked" for me.
(Disable that, & then I'd also need quotes.)
Post Reply