barryf / micropublish

A Micropub client that you can use to create, update, delete and undelete content on your Micropub-enabled website.
https://micropublish.net
MIT License
68 stars 16 forks source link

Always use UTF-8 charset for JSON requests #78

Closed jamietanna closed 3 years ago

jamietanna commented 3 years ago

As noted in #77, we're seeing that JSON create/updates are stripping UTF-8 encoding, therefore leading to emoji characters being mangled.

A fix for this should be to ensure we always encode as UTF-8.

Closes #77.