aboutsummaryrefslogtreecommitdiffstats
path: root/famille.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-11-12 19:22:56 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2012-11-12 19:22:56 +0100
commit92cb8cbe8d516d6b14d38ff45a1781ff1d90663c (patch)
tree5896d3c0ec443fa344e9d91c718de62c04c3fd8c /famille.py
parent186d07ce6d7d099e2e036dfc74d4e21898f249b0 (diff)
downloadfamille-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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/famille.py b/famille.py
index 6bae72f..82fb42c 100644
--- a/famille.py
+++ b/famille.py
@@ -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()