Closed shaggygi closed 3 years ago
Seems like you'll need to specify the type of encoding:
_parser.WriteFile(_filePath, _data, System.Text.Encoding.UTF8);
I figured it out, but forgot to close out. It turns out the files I'm working with is not supported by .NET Core (as it is a specific Windows encoding). The files are supposed to be updated to UTF-8 in the near future, so I can use with .NET Standard/Core at that time. Closing issues.
Seems like the copyright system © gets changed to '?' when using
WriteFile
method.I noticed this when trying to set a value to a specific attribute and other attributes that have © are getting changed to ?.