You are here: PSPad forum > Bug report / Hlášení chyb > Spurious x0D in hexadecimal (long line)

Spurious x0D in hexadecimal (long line)

#1 Spurious x0D in hexadecimal (long line)

Posted by: dtmackenzie | Date: 2019-10-16 08:06 | IP: IP Logged

I wrote a program which generates files which are mostly long text without line breaks but which have binary data near the end, where the x0A character can occur.
Looking at such a file in hexadecimal mode, I spent quite some time trying to figure out why my program inserted an x0D before the x0A although I was writing in binary mode, until I eventually realized that in fact it was PSPad that had inserted it.
It would be nice if PSPad were to refrain from inserting the x0D, at least in hexadecimal mode...
I like PSPad nevertheless! smiling smiley

Options: Reply | Quote | Up ^


#2 Re: Spurious x0D in hexadecimal (long line)

Posted by: pspad | Date: 2019-10-16 08:33 | IP: IP Logged

If you want to look for file in HEX, open file directly in HEX editor, not switch from text to hex.
When you switch from text to hex, you will see content of the editor, including code page conversion e.t.c.

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2019 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR