15 May 2008 20:58
Re: switching the coding of various symbols
Rob Stevenson <rstevenson <at> accesscable.net>
2008-05-15 18:58:58 GMT
2008-05-15 18:58:58 GMT
On 15-May-08, at 1:33 PM, various entities wrote: >>>> I know I can use Find/Replace for each matching pair to clean >>>> these up but I think that a simple switch in BBEdit would be >>>> such a good idea that it probably exists already. Can someone >>>> tell me where it is? >>> >>> Yes. >>> Markup > Utilities > Translate (or Cmd+Opt+T) >>> >>> Translate HTML to Text first. Then translate it again. Text to >>> HTML. You can choose the way that characters are encoded (by >>> name, hex or decimal) >>> >> While this may do the conversion of numeric entries to named ones, >> it is overkill and does not preserve the HTML Markup. What was >> requested was a way to scan the HTML for the numeric entries and >> make them named (either automatically when you open the file or on >> a request basis) without doing any other alteration to the HTML in >> the file. > > perhaps I misunderstand the problem and apologize if my hint is not > helpful, but on translating from HTML to Text you can *un*check the > "Remove Tags" checkbox in the Translate dialog and your markup will > not be touched. Btw, the opposite funcionalty would be "Remove > Markup" (also under Markup > Utilities) which removes the markup > but leaves encoded entities alone. Thanks Roland for the tip. I hadn't thought of doing the Translate(Continue reading)
RSS Feed