Skip to content

Commit 7b195b7

Browse files
JohannesDemlchkuang-g
authored andcommitted
Fixes googlesamples#425 - Disable addition of BoM for the GvhProjectSettings
1 parent 3e15c95 commit 7b195b7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/VersionHandlerImpl/src/ProjectSettings.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using System;
1818
using System.Collections.Generic;
1919
using System.IO;
20+
using System.Text;
2021
using System.Xml;
2122
using UnityEditor;
2223

@@ -820,6 +821,7 @@ private static void Save() {
820821
using (var writer =
821822
XmlWriter.Create(PROJECT_SETTINGS_FILE,
822823
new XmlWriterSettings {
824+
Encoding = new UTF8Encoding(false),
823825
Indent = true,
824826
IndentChars = " ",
825827
NewLineChars = "\n",

0 commit comments

Comments
 (0)