Re: tool to encode html entities

2006-11-19 Thread Michelle Konzack
Am 2006-11-16 22:37:26, schrieb T: hi, I found I'd like to talk to myself recently. :-) $ echo 'sed s/ /nbsp;/g f1 f2' | perl -MHTML::Entities -pe 'encode_entities($_)' ^ Are you sure, you want to convert ALL SPACE to nbsp; ? sed quot;s/ /amp;nbsp;/gquot; lt;

tool to encode html entities

2006-11-16 Thread T
Hi Any tools can help me encode html entities? E.g. from sed s/ /nbsp;/g f1 f2 to sed quot;s/ /amp;nbsp;/gquot; lt; f1 gt; f2 ? thanks -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of

Re: tool to encode html entities

2006-11-16 Thread T
On Thu, 16 Nov 2006 21:59:37 -0500, T wrote: Hi Any tools can help me encode html entities? E.g. from sed s/ /nbsp;/g f1 f2 to sed quot;s/ /amp;nbsp;/gquot; lt; f1 gt; f2 ? thanks hi, I found I'd like to talk to myself recently. :-) $ echo 'sed s/ /nbsp;/g f1 f2' |