You are decoding from your source OK, but the problem is that you are not encoding to the target. Specifically you are trying to print decoded data rather than encoded data, hence the "Wide character" message.
I note from the path "D:/EPIC_workspace/..." that you are probably on a Windows box, so there may be other O/S specific things going on there too of which us non-windows-users are blissfully unaware.
HTH, hippo
In reply to Re: Perl Encoding/Decoding Doubt: From a Novice
by hippo
in thread Perl Encoding/Decoding Doubt: From a Novice
by ppremkumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |