mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-23 03:16:12 -05:00
Removed utf8bom
* https://github.com/dwango/UniVRM/pull/27 * https://msdn.microsoft.com/ja-jp/library/ms143375(v=vs.110).aspx * File.WriteAllText(path, str, Encoding.UTF8) is with BOM * File.WriteAllText(path, str) default encoding is without BOM
This commit is contained in:
parent
8e6c113356
commit
b1552585e5
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ namespace VRM
|
|||
spring.boneGroups.Add
|
||||
);
|
||||
|
||||
File.WriteAllText(path, spring.ToJson(), Encoding.UTF8);
|
||||
File.WriteAllText(path, spring.ToJson());
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user