# -*- coding: utf-8 -*-
-# Copyright (C) 2014-2021 EDF R&D
+# Copyright (C) 2014-2022 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
text_2 = ""
ok_maillage = True
- with open(fichierStatMaillageFissure, "w") as fic_stat :
+ with open(fichierStatMaillageFissure, "w", encoding='utf-8') as fic_stat :
# Le nombre de quadrangles ou d'hexaèdres doit être rigoureusement identique
for key in ('Entity_Quad_Quadrangle', 'Entity_Quad_Hexa'):
with open(fichierNewRef, "w") as fic_info :
fic_info.write(text_2[:-4]+" \\")
- print (text)
+ print (text.encode('utf-8'))
return ok_maillage