Bigjango13 / MCPI-Addons

Addons to the MCPI api.
17 stars 5 forks source link

Fix character encoding #23

Open NikZapp opened 5 months ago

Bigjango13 commented 4 months ago

Why is this needed, MCPI uses CP-437?

NikZapp commented 4 months ago

Yes, the chat uses CP-437, and trying to send the characters from that table will result in broken characters, due to them being decoded as CP-437 but encoded as UTF-8. As far as I know, MCPI doesn't even use UTF-8 anywhere in the API.