- or download this
use feature 'say';
binmode STDOUT, 'encoding(utf-8)';
...
say $ok ? 'ok' : 'not ok';
say $str;
- or download this
ok
Code point 0x10000000 is not Unicode, may not be portable at demo.pl l
+ine 8.
"\x{10000000}" does not map to utf8 at demo.pl line 8.
\x{10000000}
- or download this
my $ok = utf8::decode($json);
Dump( $json );