Closed treinhard closed 11 years ago
Without the patch the following JSON snippet results in a UnicodeDecodeError:
{ "_id:translate(onegov.policy.contentcreation)": "bruckenangebote", "_type": "ftw.topics.Topic", "title:translate(onegov.policy.contentcreation)": "Brückenangebote" }
Assumption is that the JSON file is encoded as UTF-8 (which seems a little better than ASCII).
This seems to be a problem for the "update-i18n-contentcreation.py" in onegov.policy too.
Solution for purists in dfbf9eb ;-)
Thanks :)
Without the patch the following JSON snippet results in a UnicodeDecodeError:
Assumption is that the JSON file is encoded as UTF-8 (which seems a little better than ASCII).