X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=iramuteq.py;h=1112acc229ad2c7d710019d1fb8f310b3de98650;hp=cf7088a684fd78fbd90146a61e2a67b493cc5727;hb=e033f9e84abb3c12d92f1580425877aa58e9af30;hpb=e531d59ce2d8f72dfc3138446db913af1f20b134 diff --git a/iramuteq.py b/iramuteq.py index cf7088a..1112acc 100644 --- a/iramuteq.py +++ b/iramuteq.py @@ -101,10 +101,11 @@ ID_SimiTxt = wx.NewId() ########################################################## #encodage if sys.platform == 'darwin' : - sys.setdefaultencoding('utf-8') - wx.SetDefaultPyEncoding('utf-8') + sys.setdefaultencoding('UTF-8') + wx.SetDefaultPyEncoding('UTF-8') else : sys.setdefaultencoding(locale.getpreferredencoding()) + #chemin de l'application AppliPath = os.path.abspath(os.path.dirname(os.path.realpath(sys.argv[0]))) #chemin des images @@ -148,7 +149,6 @@ sys.stdout = printer() ConfigPath = ConstructConfigPath(UserConfigPath) - langues = {'french' : wx.LANGUAGE_FRENCH, 'english' : wx.LANGUAGE_ENGLISH,} #####################################################################