Replace Null Characters?

General questions about using TextPad

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

Post Reply
DougFMR
Posts: 3
Joined: Wed Nov 19, 2003 2:01 pm

Replace Null Characters?

Post by DougFMR »

Hi,
How do I replace null characters? I had to use another editor to replace HEX Value 0 (zero) characters. When I try to copy the character a window pops up telling me I am not allowed to copy a null character.

Yet it is possible.

Thanks.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

It's a known issue, might even be in the help. I'm not awake enough to read now stupid warcraftbut I'm pretty sure I remember people having to use a hex editor to fiddle with \x00
I choose to fight with a sack of angry cats.
User avatar
helios
Posts: 710
Joined: Sun Mar 02, 2003 5:52 pm
Location: Helios Software Solutions
Contact:

Post by helios »

In order to convert or delete null characters from a file, please implement the following procedure:


1. Open the Replace dialog box
2. Type "\x00" without the quotes into the "Find what" section
3. Type the required replacement into the "Replace with" section
4. Under the heading "Conditions", check "Text and Regular expression"
5. Ensure the curser is at the beginning of the document
6. Click Replace All

I hope this helps.
Helios Software Solutions
User avatar
davidross
Posts: 1
Joined: Thu Feb 16, 2006 12:46 am
Location: Tucson Arizona USA

Post by davidross »

i'm new to forums & have been dealing with replacing null characters for a few years. many thanks!
/dr
Post Reply