in reply to Re^4: Another Unicode/emoji question
in thread Another Unicode/emoji question
File handles expect bytes by default.
You're providing Unicode Code Points.
Converting text to bytes is called encoding. You told the other end you were providing UTF-8, but you never applied this encoding.
But what is the difference between ":encoding(UTF-8)" and ":utf8"?
`:encoding(UTF-8)` vs `:encoding(utf8)` vs `:utf8`
|
|---|