danhper / python-i18n

Easy to use i18n library for Python
https://pypi.python.org/pypi/python-i18n
MIT License
228 stars 45 forks source link

Support UTF encode #31

Open winkoms opened 2 years ago

winkoms commented 2 years ago

Hi,

We have problems with encoding, if appears some especial character in json (like in French), the error will be, UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 182: invalid continuation byte

The "conflictive" part of the json is: "nomF": "Fichiers supervisés enregistrés"

Any idea?

Thks in advance