in reply to How to Fix Character Encoding Damaged Text Using Perl?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to Fix Character Encoding Damaged Text Using Perl?
by Jim (Curate) on Jun 15, 2013 at 20:48 UTC |