chcg / NPP_HexEdit

Notepad++ Plugin Hexedit
825 stars 156 forks source link

HexEditor shows incorrect data #22

Open BeCube1 opened 4 years ago

BeCube1 commented 4 years ago

See this file: "Jail Break (UK) (1986) [a1].dsk" At adress $12d you display $E2 $88 $9A which is not correct, $00 $00 $00 is the correct value You can download it at: https://www.romnation.net/srv/roms/3908/amstrad/Jail-Break-UK-1986-a1.html

(I'm using HexEditor_0.9.5.19_x86.zip with the latest Notepad++ on Windows 10)

KnIfER commented 4 years ago

0x12d : E2 88 9A

confirmed. should be 00 00 00

But if u copy the string data in the normal npp editor, from 0x100 to 0x12f, "Track-Info  Nе Ѕ ¬ √"

Then the string can be encoded to give same bytes as HexEditor displays.

KnIfER commented 4 years ago

image

image (1)

I think the displayed data of normal npp is wrong in the first place.

KnIfER commented 4 years ago

Disable Preference->MISC->Auto detect encoding, and re-open the file. the file will be 'decoded' as an ascii text file.

I think everything is correct this time.

KnIfER commented 3 years ago

'binary mode' for text editor!

20200917_183742_GifNo 0

The Binary mode ternimates all 'incorrect data' issues. Maybe someday I'll make another 'hex mode', as described on the forum.