Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HexEdit misinterprets file and saves incorrectly #76

Open
Gordo2022 opened this issue Dec 16, 2022 · 0 comments
Open

HexEdit misinterprets file and saves incorrectly #76

Gordo2022 opened this issue Dec 16, 2022 · 0 comments

Comments

@Gordo2022
Copy link

Gordo2022 commented Dec 16, 2022

Hi,

I have a problem with editing a specific file with N++ in the HexEdit view, where the file content that I see in the Hex preview is not what actually gets saved. Please refer to this link:
(notepad-plus-plus/notepad-plus-plus#12647 (comment))

To recreate the bug:

  1. The original file made_with_hxd.txt looks like this:
    image

  2. open the file you created and switch to the HexEditor view (leave at OEM866), it now looks like this:
    image

  3. correct the bytes in the file that appear to have changed from the original
    image

  4. Save the file and close it.

  5. Now if you re-open the file in N++ or Hxd (HxD shown below), it looks like this (the file has been altered):
    image

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant