mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +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)
|
||||
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…
Reference in New Issue
Block a user