cheddar: some unicode codepoints are converted to gibberish via the HTTP API

#145
Opened by sterni at 2021-09-08T15·30+00

$ curl -H 'Content-Type: application/json' -d "{ \"markdown\": \"\\u1F570\\uFE0F\" }" localhost:4238/markdown
{"markdown":"<p>ὗ0️</p>\n"}

Not sure if this may be a general JSON problem as jq exhibits the same behavior:

$ echo "\"\\u1F570\\uFE0F\"" | jq
"ὗ0️"

The code point is at least correct.