Find in Files missing results since 7.7
-
Not sure if this is related to:
https://community.notepad-plus-plus.org/topic/18039/find-in-files-does-not-find-nor-display-umlautsHowever,
I have just today noticed that when searching ANSI-encoded files for a non-ASCII character, e.g. this ellipsis character ‘…’, Find in Files ONLY seems to operate on the “currently open” files and NOT on the follow-current-doc + subfolders files.If I regress to 7.6.6, this behaviour works as desired/expected.
As a test, I put two files into a directory and opened one of them. F-I-F will always find the ellipsis in the open file (regardless of whether IT is UTF-8 OR ANSI), but if the OTHER file is ANSI-encoded rather than UTF-8, it will NOT be found. If I deliberately encode the other file to be UTF-8, F-I-F will return both results as desired/expected.
If I open BOTH files in N++, F-I-F finds the character in BOTH, again regardless of encoding of either.
Hope this is enough info and can be reproduced/fixed!
-
Hello, @magic144, @ekopalypse, @Alan-kilborn, @peterjones and All,
I’ve just tested with
3newUTF-8files and3newANSIfiles, placed in a new folder and I can confirm what you said, and what @ekopalypse said, in the post you’re refer to :When searching for an EXP expression, containing, at least, one Non-ASCII character ( so, with code-point >
\x{007f}), a Find in Files operation, run on a specific folder and, possibly, on all its sub-folders, displays, on the Find Result panel :-
All
UTF-8encoded file(s), containing the EXP expression, regardless if these files are opened or not, in current Notepad++ session -
Only
ANSIencoded file(s), containing the EXP expression, which are opened in current Notepad++ session
On the other hand, as you said, @magic144, this issue starts with N++ release
v7.7and does occur with the lastv7.8.2release :-( So, the last release, not producing that issue, is the7.6.6N++ version !Best Regards,
guy038
-
-
@guy038 Thank you so much for the detail and the confirmation :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login