]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
pb accent
authorpascale.noyret <pascale.noyret@edf.fr>
Fri, 7 Apr 2017 10:34:17 +0000 (12:34 +0200)
committerpascale.noyret <pascale.noyret@edf.fr>
Fri, 7 Apr 2017 10:34:17 +0000 (12:34 +0200)
Ihm/I_MCLIST.py
Ihm/I_OBJECT.py

index cc5bb3c2ae4d4ce4b95ee41fff125ab77101ae3c..4765d8fcb265e7441565141af580d5264d9dbd3d 100644 (file)
@@ -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 ''
 
index 41e68469bf1b322e06aff2f868cc11896e480519..48c444c2d223fdcf0513c6456adbeec19767e2c7 100644 (file)
@@ -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 ''