From: pascale.noyret Date: Fri, 7 Apr 2017 10:34:17 +0000 (+0200) Subject: pb accent X-Git-Tag: V8_3_0~58 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e8df786515853fbcdf0d50a036e427760b7f619;p=tools%2Feficas.git pb accent --- diff --git a/Ihm/I_MCLIST.py b/Ihm/I_MCLIST.py index cc5bb3c2..4765d8fc 100644 --- a/Ihm/I_MCLIST.py +++ b/Ihm/I_MCLIST.py @@ -262,7 +262,7 @@ class MCList: en tenant compte de la langue """ try : - return self.data[0].get_fr().decode('latin-1') + return self.data[0].get_fr() except: return '' diff --git a/Ihm/I_OBJECT.py b/Ihm/I_OBJECT.py index 41e68469..48c444c2 100644 --- a/Ihm/I_OBJECT.py +++ b/Ihm/I_OBJECT.py @@ -134,12 +134,12 @@ class OBJECT: """ try: #if 1 : - c=getattr(self.definition,self.jdc.lang).decode('latin-1','ignore') + c=getattr(self.definition,self.jdc.lang) return c except: #else: try : - c=getattr(self.definition,"fr").decode('latin-1','ignore') + c=getattr(self.definition,"fr") return c except : return ''