That data is encoded with UTF-16LE. Although I'm not sure if there's a more elegant way to solve this because I'm not familiar with the "uemcli" command, by adding the following code to the example I posted above, you will get the properly decoded Perl string in $str.
use Encode qw/decode/; my $str = decode('UTF-16', $out, Encode::FB_CROAK);
In reply to Re^3: Unicode issues with emc uemcli
by haukex
in thread Unicode issues with emc uemcli
by pritesh_ugrankar
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |