You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve just tried Notepad++ 7.8.5 32-bit with several Cyrillic text files, then tried Notepad++ 7.6.6 32-bit with the same text files - and came to the following conclusion:
the searching (Find All) in non-Latin ANSI text files with long lines (longer than 600 characters) was always broken!
Steps to Reproduce the Issue
Have several ANSI files with non-Latin characters (I tried Cyrillic text files with Windows-1251 encoding) and long lines (more than 600 characters)
Open these files in Notepad++
Search for some non-Latin word using either “Find All in All Opened Documents” or “Find All in Current Document”
Once a matching word is found in a line that is more than 600 characters long, there are two defects:
Notepad++ is not able to show this line in the Search Results correctly: this line is either unexpectedly truncated (without the trailing “…”) or is ended with a square (unreadable) symbol;
Notepad++ does not jump to the matching word when double-clicking this line in the Search Results (well, sometimes Notepad++ succeeds with it - when the matching word is near the beginning of the line; but it does not succeed when the matching word is closer to the end of the line).
Two sample files attached: one uses Windows-1251 (ANSI) encoding, another one is UTF-8. test-ANSI.txt test-UTF8.txt
Try to search for different Cyrillic words inside these files.
Depending on the system locale, you will be able to reproduce this bug either with the ANSI file or with the UTF-8 file.
I was able to reproduce it while searching for a text "может" and "гов".
The text was updated successfully, but these errors were encountered:
There was a change introduced in N++ 7.9.1 from PR #9014 that probably impacts this issue in a positive manner.
Can you try reproducing this issue with 7.9.2 and report your results?
I just tried and I could not reproduce it.
BTW, the two text strings you specified at the end of your issue were not even found in the "ansi" file -- is that correct?
Thank you for reminding me of this issue - I've tested it and indeed, it seems to be resolved in Notepad++ 7.9.1.
As for searching in the "ansi" file, I suppose it succeeds when Russian or Ukrainian is specified in system's regional settings as the language for non-Unicode programs.
Description of the Issue
I’ve just tried Notepad++ 7.8.5 32-bit with several Cyrillic text files, then tried Notepad++ 7.6.6 32-bit with the same text files - and came to the following conclusion:
the searching (Find All) in non-Latin ANSI text files with long lines (longer than 600 characters) was always broken!
Steps to Reproduce the Issue
Two sample files attached: one uses Windows-1251 (ANSI) encoding, another one is UTF-8.
test-ANSI.txt
test-UTF8.txt
Try to search for different Cyrillic words inside these files.
Depending on the system locale, you will be able to reproduce this bug either with the ANSI file or with the UTF-8 file.
I was able to reproduce it while searching for a text "может" and "гов".
The text was updated successfully, but these errors were encountered: