in reply to Perl Encoding/Decoding Doubt: From a Novice

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

  • Comment on Re: Perl Encoding/Decoding Doubt: From a Novice

Replies are listed 'Best First'.
Re^2: Perl Encoding/Decoding Doubt: From a Novice
by ppremkumar (Novice) on Jul 04, 2013 at 12:58 UTC

    Thank you, hippo