Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
This commit is contained in:
@ -211,7 +211,7 @@ def build_gles3_header(
|
||||
else:
|
||||
out_file = optional_output_filename
|
||||
|
||||
fd = open(out_file, "w")
|
||||
fd = open(out_file, "w", encoding="utf-8", newline="\n")
|
||||
defspec = 0
|
||||
defvariant = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user