Fix generateSingleHeader.py to properly copy utf-8

This commit is contained in:
Martin Hořeňovský 2018-08-29 12:36:43 +02:00
parent 5202993555
commit 898d111f72
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def generate(v):
outDir = os.path.dirname(outputPath)
if not os.path.exists(outDir):
os.makedirs(outDir)
out = io.open( outputPath, 'w', newline='\n')
out = io.open( outputPath, 'w', newline='\n', encoding='utf-8')
def write( line ):
if globals['includeImpl'] or globals['implIfDefs'] == -1: