Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Encoding of emoji characterby soonix (Canon) |
on Jun 20, 2022 at 06:25 UTC ( [id://11144867]=note: print w/replies, xml ) | Need Help?? |
The string "Test 😀" is read from a MySQL database table which has encoding latin1.IMO that's the (or at least one) source of the problem. Latin1 has no code point for 😀… besides that, Anonymous Monk's reply seems to be spot on.
In Section
Seekers of Perl Wisdom
|
|