country-list icon indicating copy to clipboard operation
country-list copied to clipboard

Use UTF-8 for JSON

Open Huulivoide opened this issue 5 years ago • 1 comments

The year is 2019, those refusing to use anything but ASCII should be the one to suffer, not the 99% of people whose systems are able to handle UTF-8. So instead of escaping all non ASCII characters on the data, they really should be just in plain, pretty, readable UTF-8.

One might also consider pretty printing the json data.

Huulivoide avatar Jun 17 '19 08:06 Huulivoide

Note to myself, this can be achieved with JSON_UNESCAPED_UNICODE.

umpirsky avatar Jun 19 '19 10:06 umpirsky