diff --git a/gestion/whos.py b/gestion/whos.py index 056c8d67..d7cd8625 100755 --- a/gestion/whos.py +++ b/gestion/whos.py @@ -36,6 +36,15 @@ d'historique affich """ +try: + import sys,locale + + loc = locale.getdefaultlocale() + if loc[1]: + sys.reallysetdefaultencoding(loc[1]) +except: + pass + from ldap_crans import is_actif , crans_ldap, ann_scol, crans from affich_tools import *