mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Fix generateSingleHeader.py to properly copy utf-8
This commit is contained in:
parent
5202993555
commit
898d111f72
@ -46,7 +46,7 @@ def generate(v):
|
|||||||
outDir = os.path.dirname(outputPath)
|
outDir = os.path.dirname(outputPath)
|
||||||
if not os.path.exists(outDir):
|
if not os.path.exists(outDir):
|
||||||
os.makedirs(outDir)
|
os.makedirs(outDir)
|
||||||
out = io.open( outputPath, 'w', newline='\n')
|
out = io.open( outputPath, 'w', newline='\n', encoding='utf-8')
|
||||||
|
|
||||||
def write( line ):
|
def write( line ):
|
||||||
if globals['includeImpl'] or globals['implIfDefs'] == -1:
|
if globals['includeImpl'] or globals['implIfDefs'] == -1:
|
||||||
|
Loading…
Reference in New Issue
Block a user