Maven Checkstyle Plugin
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-88

html report encoding inconsistent with french localized messages encoding

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      GNU/Linux, sun java 1.6, french localization, UTF-8 environment
    • Number of attachments :
      3

      Description

      When generating a report in a french/UTF-8 environment, the report title and section headers are translated into french with accented characters encoded in UTF-8. However, the html file uses ISO-8859-1 encoding due to this tag in the header:

      <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta>

      This result in weid display.

      1. checkstyle.html
        3 kB
        Luc Maisonobe
      2. checkstyle-debug.txt
        15 kB
        Luc Maisonobe
      3. pom.xml
        4 kB
        Luc Maisonobe

        Issue Links

          Activity

          Hide
          Benjamin Bentmann added a comment -

          Luc, you should also
          a) indicate your Maven version
          b) attach your POM or at least provide the config for the maven-site-plugin and its version
          c) attach a debug output of the report generation, e.g. "mvn site -X"
          Otherwise it's hard for people to track your problem down to the failing component.

          Show
          Benjamin Bentmann added a comment - Luc, you should also a) indicate your Maven version b) attach your POM or at least provide the config for the maven-site-plugin and its version c) attach a debug output of the report generation, e.g. "mvn site -X" Otherwise it's hard for people to track your problem down to the failing component.
          Hide
          Luc Maisonobe added a comment -

          Sure, sorry for forgetting that.

          I use maven 2.0.8, maven-site-plugin 2.0-beta-6 and maven-checkstyle-plugin 2.1.
          I have attached the pom file, the debug output and the generated report.

          Show
          Luc Maisonobe added a comment - Sure, sorry for forgetting that. I use maven 2.0.8, maven-site-plugin 2.0-beta-6 and maven-checkstyle-plugin 2.1. I have attached the pom file, the debug output and the generated report.
          Hide
          Robert Scholte added a comment -

          MCHECKSTYLE-95 fixes this since 2.2

          Show
          Robert Scholte added a comment - MCHECKSTYLE-95 fixes this since 2.2

            People

            • Assignee:
              Robert Scholte
              Reporter:
              Luc Maisonobe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: