jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2 & 3
  • MNG-2215

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

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 2.0, 2.0.1, 2.0.2, 2.0.3
  • Fix Version/s: None
  • Component/s: POM::Encoding
  • Labels:
    None
  • Complexity:
    Intermediate

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.

Issue Links

relates to

Bug - A problem which impairs or prevents the functions of the product. MNG-2254 the encoding parameter in xml declaration of POM is ignored

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Carlos Sanchez added a comment - 03/May/06 11:38 AM

It's not a matter of changing the default but spporting different encodings.
And no, iso-8859-1 chars don't map directly to UTF-8, eg acentuated chars are diferent

Show
Carlos Sanchez added a comment - 03/May/06 11:38 AM It's not a matter of changing the default but spporting different encodings. And no, iso-8859-1 chars don't map directly to UTF-8, eg acentuated chars are diferent

People

  • Assignee:
    Carlos Sanchez
    Reporter:
    Trustin Lee
Vote (0)
Watch (0)

Dates

  • Created:
    07/Apr/06 9:44 PM
    Updated:
    16/Jun/07 6:05 PM
    Resolved:
    03/May/06 11:38 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.