path contain null characters,search result is null。

Found a bug in "Everything"? report it here
sword202307
Posts: 5
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
You do not have the required permissions to view the files attached to this post.
NotNull
Posts: 5961
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
You do not have the required permissions to view the files attached to this post.
therube
Posts: 5727
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: 5
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
===>> I have change the folder name to english characters ;
===>> please try it
===>> thanks
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 19899
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: 5
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: 5727
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.)