in reply to special characters in parsed json rendering badly in browser
Whenever you're unsure about the content/encoding of a string, use Devel::Peek:
Also you might want to read https://perlgeek.de/en/article/encodings-and-unicode
It will tell you if the string is already utf8 decoded or not. Paste the result here, if unsure.use Devel::Peek; Dump $decoded->{description};
Also you might want to read https://perlgeek.de/en/article/encodings-and-unicode
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: special characters in parsed json rendering badly in browser
by slugger415 (Monk) on Sep 02, 2018 at 19:46 UTC |
In Section
Seekers of Perl Wisdom