afrozenpeach / CSharp_MARC

C# class libraries and full featured editor for MARC Records
https://csharpmarc.net
Other
57 stars 17 forks source link

Added support for UTF8 without BOM #17

Closed sdanisch closed 3 years ago

sdanisch commented 3 years ago

We encountered problems with having the resulting UTF8+BOM file rejected by MARC-validators. For this purpose i added a 3rd supported Encoding to FileMARCWriter "UTF8NoBOM" that creates UTF8 files without the offending byte order mark.

The behavior of the Constructor has not been altered otherwise.