kerel-fs / ogn-rdb

A parser for http://wiki.glidernet.org/list-of-receivers.
GNU Affero General Public License v3.0
5 stars 1 forks source link

Encode receivers.json in UTF-8 #8

Closed pyrog closed 8 years ago

pyrog commented 8 years ago

Accented characters are escaped in this form \u00e9. JSON validator return: "Invalid encoding, expecting UTF-8, UTF-16 or UTF-32."

Reading (and I hope) editing this file is difficult.

kerel-fs commented 8 years ago

Can't reproduce: The JSON input is valid according to RFC 4627 (JSON specfication).

Manually editing this file is not recommended. If you want to edit data manually, I recommend a form-input.

pyrog commented 8 years ago

Sorry, I used another validator that accept URL. :confused: https://jsonformatter.curiousconcept.com

See https://docs.python.org/3/library/json.html#character-encodings