This seems essentially the same as both Substitute and converting to UTF8 and convert tags to punctuation. Have a read of those and let us know if and how your question differs.
🦛
In reply to Re: PERL UNIX and strangeness and char conversion
by hippo
in thread PERL UNIX and strangeness and char conversion
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |