Thinner: -------------------------------------------------------------------------------- Hi,
I want to edit a text file (DOS, CR+LF) with a binary footer containing a CRC32 checksum. File is opened in text mode by default. If switching to hex mode manually and editing CRC32 containing byte 0x0D and saving file, mode is switched back to text and the byte 0x0D is replaced by 0x0D 0x0A (CR+LF). Example: 1. Create a new file in text mode (DOS, CR+LF): aaaa bbbb 2. Switch to hex mode and append bytes: 01 02 0D 03 3. Save the file mode will switch back to text switching back to hex mode manually you will see: 01 02 0D 0A 03 Any chance to get that fixed? BTW: It would be nice to see the number of selected bytes in hex mode in hexadecimal too, currently it's only decimal. Thanks for this great tool. wbr Thinner -------------------------------------------------------------------------------- Hi, I am not sure, I fully understand the intention and the described workflow, but I believe, if you switch a textual file to hexadecimal view in PSPad, you may not get the original binary content - there are some internal conversions of the text involved (probably utf-16) and the switched view can only display this converted version. On the other hand, if you use File: Open in Hex edit, you get the original saved data without conversions. hth, vbr -- <http://forum.pspad.com/read.php?4,66715,66716> PSPad freeware editor http://www.pspad.com
