matrix-org / python-canonicaljson

Canonical JSON
Apache License 2.0
31 stars 15 forks source link

Use UTF-8 in pretty printing #34

Closed reivilibre closed 4 years ago

reivilibre commented 4 years ago

Fixes #33

Also includes a test.

clokep commented 4 years ago

I think this looks good ✅ , but would be curious if @richvdh knows why this was different in the first place.

richvdh commented 4 years ago

no idea. I suspect it just dates to the bad old days when it was impossible to conceive of characters outside the ascii charset.