in reply to Re^2: JSON character encoding
in thread JSON character encoding
You'll get "It’s" and "moment 😊", which are ugly, but should come out right if you put them in an html file.use Encode qw( encode FB_HTMLCREF ); print encode('ascii', $jsonstuff->{items}[0]{snippet}{description}, FB +_HTMLCREF), "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: JSON character encoding
by Bman70 (Acolyte) on May 29, 2017 at 21:41 UTC |