You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
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