google / google/addlicense

Unsupported characters break XML files

Open
#167 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.