X-Git-Url: http://iramuteq.org/git?a=blobdiff_plain;f=functions.py;h=1a6d5235fb461335e6331c34a93d679e2399cdce;hb=c6b2716a36cf9a0f2d4ed48b2cc81ab133833a88;hp=a18fbc56e10ede4828cd427470414fc9efacecf2;hpb=eaa044d1147e26b82942ce56d5965c83fdddf069;p=iramuteq diff --git a/functions.py b/functions.py index a18fbc5..1a6d523 100755 --- a/functions.py +++ b/functions.py @@ -364,7 +364,7 @@ class DoConf : if outfile is None : outfile = self.configfile outfile = normpath_win32(outfile) - with open(outfile, 'w') as f : + with open(outfile, 'w', encoding="utf-8") as f : f.write(txt) #self.conf.write(f)