If it's really that straightforward, this kind of reverse pipe-line might do–
perl -CSD -MEncode -le '$moji = decode "UCS-2LE", "Re: URGENT"; print $moji; print decode "UTF-8", encode "UCS-2LE", $moji'敒›剕䕇呎 Re: URGENT
In reply to Re: How to Fix Character Encoding Damaged Text Using Perl?
by Your Mother
in thread How to Fix Character Encoding Damaged Text Using Perl?
by Jim
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |