Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-2215

Change the default input/output encoding to UTF-8 instead of ISO-8859-1

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0, 2.0.1, 2.0.2, 2.0.3
    • None
    • POM::Encoding
    • None

    Description

      Currently, all input and output encodings of source code and site are ISO-8859-1 by default. UTF-8 covers all characters in ISO-8859-1 without any migration, and moreover, it supports other characters which ISO-8859-1 cannot cover such as Korean and Japanese. Changing the default encodings to UTF-8 will be great because some plugins might not provide any configuration properties for encodings but uses some default values. For example, maven site plugin didn't have an input encoding property. If the default encoding is ISO-8859-1, people doesn't have any chance to express their native language at all (e.g. source code comments, site documentation, ...). If the default encoding is UTF-8 at least, they could use their native language at least.

      To do this,

      1) Change all default values which are ISO-8859-1 to UTF-8
      2) Set VM system property: -Dfile.encoding=UTF-8 for the plugins which doesn't consider encodings at all.

      Attachments

        Issue Links

          Activity

            People

              carlos Carlos Sanchez Gonzalez
              trustin Trustin Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: