diff --git a/Scripts/Format/Editor/VRMVersionMenu.cs b/Scripts/Format/Editor/VRMVersionMenu.cs index e17f843ac..c3c4d82a7 100644 --- a/Scripts/Format/Editor/VRMVersionMenu.cs +++ b/Scripts/Format/Editor/VRMVersionMenu.cs @@ -91,7 +91,7 @@ namespace VRM var subJson = subFormatter.ToString(); var path = dir.Child(fileName); - File.WriteAllText(path.FullPath, subJson, Encoding.UTF8); + File.WriteAllText(path.FullPath, subJson); } } } @@ -136,7 +136,7 @@ namespace VRM var path = dir.Child("vrm.schema.json"); Debug.LogFormat("write JsonSchema: {0}", path.FullPath); - File.WriteAllText(path.FullPath, json, Encoding.UTF8); + File.WriteAllText(path.FullPath, json); return path; } diff --git a/Scripts/SpringBone/VRMSpringUtility.cs b/Scripts/SpringBone/VRMSpringUtility.cs index 75a1b7a1c..e555d36e8 100644 --- a/Scripts/SpringBone/VRMSpringUtility.cs +++ b/Scripts/SpringBone/VRMSpringUtility.cs @@ -56,7 +56,7 @@ namespace VRM spring.boneGroups.Add ); - File.WriteAllText(path, spring.ToJson(), Encoding.UTF8); + File.WriteAllText(path, spring.ToJson()); } #endregion