fix encoding for A3DA property list format to handle Japanese characters

This commit is contained in:
Michael Becker 2020-05-04 02:10:01 -04:00
parent 36f13363aa
commit 9593c902df
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7

View File

@ -46,6 +46,7 @@ namespace UniversalEditor.Plugins.Sega.DataFormats.PropertyList.A3DA
throw new ObjectModelNotSupportedException();
Reader reader = Accessor.Reader;
Accessor.DefaultEncoding = Encoding.UTF8;
string signature = reader.ReadLine();
if (signature != "#A3DA__________")