this needs to be fixed when we have time

This commit is contained in:
Michael Becker 2022-08-06 19:16:51 -04:00
parent 94aeb3e754
commit ff4dc55435
No known key found for this signature in database
GPG Key ID: DA394832305DA332

View File

@ -84,6 +84,7 @@ namespace UniversalEditor.DataFormats.PropertyList
long pos = tr.Accessor.Position;
// determine BOM
// FIXME: this is super inefficient as it makes more than a single pass through
string line = tr.ReadLine();
if (line.StartsWith("\xff\xfe"))
{