diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-12 19:22:56 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-11-12 19:22:56 +0100 |
| commit | 92cb8cbe8d516d6b14d38ff45a1781ff1d90663c (patch) | |
| tree | 5896d3c0ec443fa344e9d91c718de62c04c3fd8c /famille.py | |
| parent | 186d07ce6d7d099e2e036dfc74d4e21898f249b0 (diff) | |
| download | famille-flask-92cb8cbe8d516d6b14d38ff45a1781ff1d90663c.tar.gz | |
Make the locale encoding explicit to work even when the system's config is weird
Diffstat (limited to 'famille.py')
| -rw-r--r-- | famille.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ from datetime import datetime from bs4 import BeautifulSoup from flask_mail import Mail, Message import locale -locale.setlocale(locale.LC_ALL, 'fr_FR') +locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8') def rstify(string): w = Writer() |
