- or download this
$ perl -E '
use utf8;
...
print Dumper($data);
'
$VAR1 = " { \"cat\" : \"text \x{2013} abcd\" } ";
- or download this
$ perl -E 'use utf8;
...
'
Wide character in say at -e line 4.
{ "cat" : "text – abcd" }
- or download this
$ perl -E 'use utf8;
my $data = qq( { "cat" : "text – abcd" } );
...
say $data;
'
{ "cat" : "text – abcd" }