encode every "style" file in utf-8
This commit is contained in:
parent
05f8557852
commit
ae69eb666b
@ -149,7 +149,7 @@ class StyleSheetList(object):
|
||||
Saves the current StyleSheet definitions to the associated file.
|
||||
"""
|
||||
xml_file = open(self.__file, "w")
|
||||
xml_file.write("<?xml version=\"1.0\"?>\n")
|
||||
xml_file.write('<?xml version="1.0" encoding="utf-8"?>\n')
|
||||
xml_file.write('<stylelist>\n')
|
||||
|
||||
for name in sorted(self.map.keys()): # enable diff of archived copies
|
||||
|
Loading…
Reference in New Issue
Block a user