question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cobertura Report Specifies UTF-16 encoding, when it is saved as UTF-8

See original GitHub issue

This 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:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

1reaction
tariknzcommented, Apr 17, 2018

Getting the same issue on VSTS

Failed to read D:\a\1\s\Mop.Stores.UnitTests\coverage.xml. Error : There is no Unicode byte order mark. Cannot switch to Unicode..
No coverage data found. Check the build errors/warnings for more details.
0reactions
tonerdocommented, Apr 17, 2018
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found