Bug #30995
Mis à jour par Serghei Mihai (congés, retour 15/05) il y a environ 5 ans
Erreur en production:
<pre>
UnicodeEncodeError
'charmap' codec can't encode character u'\u2019' in position 121: character maps to <undefined>
Django Version: 1.11.18
Exception Type: UnicodeEncodeError
Exception Value:
'charmap' codec can't encode character u'\u2019' in position 121: character maps to <undefined>
Exception Location: /usr/lib/python2.7/encodings/iso8859_15.py in encode, line 12
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.13
Python Path:
['.',
'',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf']
Server time: jeu, 28 Fév 2019 14:06:24 +0100
Unicode error hint
The string that could not be encoded/decoded was: NOM=L’hôte
</pre>
<pre>
UnicodeEncodeError
'charmap' codec can't encode character u'\u2019' in position 121: character maps to <undefined>
Django Version: 1.11.18
Exception Type: UnicodeEncodeError
Exception Value:
'charmap' codec can't encode character u'\u2019' in position 121: character maps to <undefined>
Exception Location: /usr/lib/python2.7/encodings/iso8859_15.py in encode, line 12
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.13
Python Path:
['.',
'',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf',
'/usr/lib/python2.7/dist-packages/odf']
Server time: jeu, 28 Fév 2019 14:06:24 +0100
Unicode error hint
The string that could not be encoded/decoded was: NOM=L’hôte
</pre>