NPP_HexEdit icon indicating copy to clipboard operation
NPP_HexEdit copied to clipboard

Search does not find UTF8 values

Open Stavr0 opened this issue 2 years ago • 0 comments

When searching for hex values within a UTF-8 encoded file, the search does not find the second character in a MBCS character.

Steps to reproduce Create plain text file in UTF8 containing a character such as e acute preceded by a space. Switch to hex mode, the text should show as 20 c3 a9 Hit Home to set cursor to beginning of file Hit ^F to search and enter value a9

Expected The character is found at Address 2

Actual Message Find / Can't find is shown.

Notes The search is successful for c3 or c3 a9

Stavr0 avatar Feb 03 '23 16:02 Stavr0