Hack de la mort qui tue pour ne pas gerer les problemes d'encodage

darcs-hash:20040910135324-d1718-60927f243aabe62f38387fb3d696e188b757cf66.gz
This commit is contained in:
bernat 2004-09-10 15:53:24 +02:00
parent eb68ec7572
commit 7f0787f7c3

View file

@ -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 ldap_crans import is_actif , crans_ldap, ann_scol, crans
from affich_tools import * from affich_tools import *