in reply to ASCII translation with a twist

I'm a little confused by your spec. Do you really serve clients who have replaced chr(36) with the company logo? I'm tempted to ask who's on their dollar bill. ;-)

In any case, it sounds like you could use HTML::Entities at some point.

After Compline,
Zaxo