Mojo's Cobertura Maven Plugin
  1. Mojo's Cobertura Maven Plugin
  2. MCOBERTURA-85

Configuration for different report encodings (other than UTF-8)

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Labels:
      None
    • Number of attachments :
      1

      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

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              David J. M. Karlsen
              Reporter:
              Sasha Cvetkovic
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: