You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (JIRA)" <ji...@apache.org> on 2019/01/19 16:27:00 UTC

[jira] [Closed] (GROOVY-8963) Use `CompilerConfiguration.DEFAULT_SOURCE_ENCODING` as default encoding

     [ https://issues.apache.org/jira/browse/GROOVY-8963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Sun closed GROOVY-8963.
------------------------------
    Resolution: Won't Fix

https://github.com/apache/groovy/pull/856#pullrequestreview-194361403

-1, this is a breaking change. The default source encoding was assumed to be the system default encoding. With this change just by upgrading Groovy some sources wouldn't build anymore because files encoded with iso-8859-1 (typical Windows) would now use UTF-8. This would have been fine for a default in the beginning, but unfortunately we can't change that.

> Use `CompilerConfiguration.DEFAULT_SOURCE_ENCODING` as default encoding
> -----------------------------------------------------------------------
>
>                 Key: GROOVY-8963
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8963
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 3.0.0-alpha-5
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)