Page 1 of 1

Annoing - Hex/ascii copy and paste???

Posted: Fri Apr 16, 2004 11:33 am
by delley
Hi,

I resently started working with base64 encoding of text. I have been using Textpad for a gazillion years (approx.). But I have never used it as an hex tool.

Now, when I view my file which is partly text and partly base 64 encoded, textpad enterpet the whole file as hex - even the text part...

And when I want to copy and paste ascii representation of the base64 encoded part (for sanity check of base64 encoding) from textpad. I can mysteriosly only mark the hex part. Leaving me no option to do anything with the ascii part.

Is this the way it is supposed to work?

It could be nice to be able to mark (and copy) the ascii part as well...

Regards,


8) delley 8)

Posted: Fri Apr 16, 2004 1:56 pm
by s_reynisson
First of all, did you vote here? http://textpad.com/forum/viewtopic.php?t=4123
Second, I don't like to use TP for hex files, to edit and view some users here use http://www.chmaas.handshake.de/delphi/f ... /xvi32.htm
Not much help on TP though, sorry, just wanted to point out the poll ;)

Re: Annoing - Hex/ascii copy and paste???

Posted: Tue Apr 27, 2004 1:59 pm
by robbage
delley wrote:Now, when I view my file which is partly text and partly base 64 encoded, textpad enterpet the whole file as hex - even the text part...

And when I want to copy and paste ascii representation of the base64 encoded part (for sanity check of base64 encoding) from textpad. I can mysteriosly only mark the hex part. Leaving me no option to do anything with the ascii part.

Is this the way it is supposed to work?
AFAIK, TP switches to Hexview mode based on the file's extension.
If you open the preferences, select "Document Classes", Select "Binary" you will see a list of extensions. You can delete the one causing the problem, or rename your file to whatever.txt

Posted: Tue Apr 27, 2004 5:37 pm
by MudGuard
Another option:

in the file-open dialog, there is a dropdownlist
Fileformat
with three options:
- auto causes textpad to choose
- text opens as text
- binary opens as hex view