Cobertura Report Specifies UTF-16 encoding, when it is saved as UTF-8
See original GitHub issueThis is a minor issue, but it causes other programs that read the xml file to fail with the following error:
There is no Unicode byte order mark. Cannot switch to Unicode
, since it expects the file to actually be UTF-16, even though it is saved as UTF-8. My recommendation is to change the header declaration to either remove the encoding piece, or specify UTF-8
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Declaring character encodings in HTML
Question. How should I declare the encoding of my HTML file? You should always specify the encoding used for an HTML or XML...
Read more >UTF-8: The Secret of Character Encoding
The character encoding is the same as the one reported by the browser,; The character encoding is different from the browser's, or; There...
Read more >Maven: Source Encoding in UTF-8 not working? - java
I have found a "solution" myself: I had to pass the encoding into the maven-surefire-plugin, but the usual <encoding>${project.build.
Read more >How to fix: Invalid UTF-8 encoding
Use proper UTF-8 encoding for text and avoid double encodingMerchant Center supports UTF-8, UTF-16, Latin-1, and ASCII. If you're unsure of your file's ......
Read more >UTF-8
The standard specifies that the correct encoding of a code point uses only the minimum number of bytes required to hold the significant...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Getting the same issue on VSTS
New NuGet bits: https://www.nuget.org/packages/coverlet.msbuild/1.1.1