NotepadNext icon indicating copy to clipboard operation
NotepadNext copied to clipboard

1st Hex number show wrong when it larger than 0x7f

Open jingjm opened this issue 1 year ago • 1 comments

A binary file with 1st byte larger than 0x7f will show wrong. See screen copy below: Corrent one: image Wrong one: image

jingjm avatar Oct 17 '23 06:10 jingjm

Thanks for the info! It looks like Notepad Next is treating the 6-byte file as a different encoding than Notepad++.

[   150.710] D: Read 6 bytes
[   150.710] D: BOM mark not found, using uchardet
[   150.710] D: uchardet detected encoding as: 'WINDOWS-1252'
[   150.711] D: Using codec: 'windows-1252'

I'm not that familiar with different encodings but this at least points to a cause. Not sure yet how to actually fix it.

Example file: test.txt

dail8859 avatar Oct 17 '23 11:10 dail8859