You are here: PSPad forum > Bug report / Hlášení chyb > Not possible to search for 00 in HEX view

Not possible to search for 00 in HEX view

#1 Not possible to search for 00 in HEX view

Posted by: apper | Date: 2013-04-20 13:20 | IP: IP Logged

Hi. It is not possible to search for hex 00 in the hex editor. For example the search for "2437" works and you'll find the position, where 0x24 is followed by 0x37. But if you search "243700" you'll find the same, no matter if 0x24 0x37 is followed by 0x00. A search for some 0x00 doesn't work at all (e.g. "000000"). If you search for "240037" the next 0x24 is shown, no matter what's following.

The funny thing is, that it works when using the F3 key. A workaround is to enter the search using the search window, ignore the wrong result and then press F3 to find the correct result.

Options: Reply | Quote | Up ^


#2 Re: Not possible to search for 00 in HEX view

Posted by: kevenm | Date: 2016-03-03 13:57 | IP: IP Logged

PSPad 4.6.0 (2700)
I log screen output which contains control chars.
In HEX editor, I change
07 to \a
08 to \b
09 to \t
0A to \n
0C to \f
0D to \r
0E to \i
0F to \o
1B to \e
Then its easier to view in ASCII editor
Then in ASCII editor I change
\\r\\n (regex) to \\rn\n
This gives me newlines.
(I would like to chg to "\r\n"<newline> but haven't figured this out yet)

My trouble is I would like to change HEX
00 to \z
But as original poster noted, HEX editor Find/Replace doesn't seem to handle
00 or NULL searching.

Options: Reply | Quote | Up ^






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