Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.4
-
Labels:None
-
Number of attachments :
Description
The Cobertura patch 1670817 implements the possibility to specify the encoding for the java source code files. This is absolutely necessary if the Java source code uses encoding other than UTF-8. See https://sourceforge.net/tracker/?func=detail&atid=720017&aid=1670817&group_id=130558
It would be nice if everybody would use UTF-8, this is however not always possible; i.e. due to Microsoft's dominance (
) many people use unconciously the so called ANSI (Windows-1252) unofficial "standard". When writing code (better to say comments) in other languages than english, the Cobertura report output (that utilizes UTF-8) is hardly readable.
Hence, it is highly desirable if somebody would implement asap an appropriate patch for the maven cobertura plugin where with a new configuration option the user can specify the source character set (the default remains UTF-8).
...
<configuration>
<formats>
<format>...</format>
</formats>
<charset>CP1252</charset>
</configuration>
...
Issue Links
- is duplicated by
-
MCOBERTURA-116
Add encoding parameter in case Java Source is not default
-
-
MCOBERTURA-33
Adding the Cobertura Merge task
-