Problem with Replace
Posted: Sun Nov 07, 2004 11:14 pm
I had a series of html documents given to me that had various non-keyboard characters, such as em dash, section symbol, paragraph symbol, and so on.
In order for these to display correctly, I wanted to replace them with character entities. Thus the em dash would become — and the section symbol § and the paragraph symbol ¶ .
However, when I tried to replace these, I had a problem. I selected and copied the character and pasted it into the search field. Textpad had no problems locating the character I was looking for in any case. But when I tried to replace it, Textpad kept the searched-for character and added #x2014; (or whatever) -- the ampersand didn't make it and the searched-for character wasn't replaced.
At first I searched for the character and then pasted in the appropriate string. Then I purchased WildEdit and it didn't have this issue, but I thought I should bring it up.
In order for these to display correctly, I wanted to replace them with character entities. Thus the em dash would become — and the section symbol § and the paragraph symbol ¶ .
However, when I tried to replace these, I had a problem. I selected and copied the character and pasted it into the search field. Textpad had no problems locating the character I was looking for in any case. But when I tried to replace it, Textpad kept the searched-for character and added #x2014; (or whatever) -- the ampersand didn't make it and the searched-for character wasn't replaced.
At first I searched for the character and then pasted in the appropriate string. Then I purchased WildEdit and it didn't have this issue, but I thought I should bring it up.