Page 1 of 1

path contain null characters,search result is null。

Posted: Thu Jul 27, 2023 3:22 pm
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 5177 times

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

Posted: Thu Jul 27, 2023 3:46 pm
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 5171 times

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

Posted: Thu Jul 27, 2023 6:00 pm
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.)

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

Posted: Thu Jul 27, 2023 11:47 pm
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 5114 times
===>> I have change the folder name to english characters ;
===>> please try it
===>> thanks

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

Posted: Thu Jul 27, 2023 11:51 pm
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\

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

Posted: Thu Jul 27, 2023 11:58 pm
by sword202307
the path null characters is use keyboard space key input

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

Posted: Fri Jul 28, 2023 2:59 pm
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.)