When executing the program, I program “123 Hello, world!” and I read “123 Hello, world!” But if i am to transfer the dump file, I will need to know which encoding to use for Arduino.
If I open the dump file in Notepad++, this is what I get:
If I run any of these through a text-to-binary converter, I get the same binary strings. But do I program the Arduino with binary digits, or do I use text input, as per the EEPROM example? In which case, what encoding do I use? ANSI? ASCII?
I have also included hyperlinks above each image. I tried to copy the text the first time, but the forum seems to only use the same encoding as MS Notepad.
The dump file is in binary as shown by the offline reader. No surprise there.
Read each byte and save it to the target EEPROM as is. No conversion needed.