Fix generateSingleHeader.py to properly copy utf-8
This commit is contained in:
parent
5202993555
commit
898d111f72
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue