Just another Perl shrine | |
PerlMonks |
Re^3: JSON::XS (and JSON::PP) appear to generate invalid UTF-8 for character in range 127 to 255by Anonymous Monk |
on Dec 07, 2014 at 04:36 UTC ( [id://1109463]=note: print w/replies, xml ) | Need Help?? |
It's not the basics, this is the problem. I'm certainly NOT blaming people for becoming confused... It's Perl's problem (ikegami disagrees).
Looking at the source of the test in question, is_sane_utf8 tests whether the string was improperly 'upgraded' (the so-called 'double encoding')... rejecting the JSON is more or less a side effect. Quickly, tell me, what that actually means?
In Section
Seekers of Perl Wisdom
|
|