Cannot copy text containing null chars.

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Pallex

Cannot copy text containing null chars.

Post by Pallex »

That's a shame. Any easy way around this? I don't mind if they are converted to spaces or "."s or something.
Laura

Re: Cannot copy text containing null chars.

Post by Laura »

Pallex,
I am having the same problem. Any news? I looked at the other forums: One refered to opening the file in a binary format...
Pallex

Re: Cannot copy text containing null chars.

Post by Pallex »

That doesn't help - you can't cut/copy into the buffer from the hex display, and you can't even highlight the ascii column to the right.

I`ve just been loading the text files into Notepad, then cut and pasting them back into textpad, which seems to convert all the NULLs to spaces!
smhaus_net

Re: Cannot copy text containing null chars.

Post by smhaus_net »

I do not believe TextPad is acting improperly there. Text files should not have nulls. If you want to edit a file with nulls, you need to use a Hex editor.
garovant

Re: Cannot copy text containing null chars.

Post by garovant »

Use REPLACE option:
Find what: \x00
Replace: (the new character, for example a blank)
[stick] Regular expression
Post Reply