Unsupported characters break XML files
Open
- Dominant language
- Go
- Stars
- 886
- Forks
- 194
- PR merge metrics
- No merged PRs in 30d
Description
I used addlicense to add license + copyright header to FLARE-VM in https://github.com/mandiant/flare-vm/pull/638. The `config.xml file` had a `` (Byte Order Mark (BOM)) that caused that addlicense added the header in the wrong way, breaking the file (and FLARE-VM). Support this type of characters to avoid issues in the future. There is a PR already with a proposed fixed in https://github.com/google/addlicense/pull/166.
Contributor guide
Assessment
This issue has not been assessed yet.