You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2024/01/23 12:11:00 UTC

[jira] [Commented] (IO-842) Deprecate FileUtils.writeLines without charsets

    [ https://issues.apache.org/jira/browse/IO-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17809923#comment-17809923 ] 

Gary D. Gregory commented on IO-842:
------------------------------------

Now that we have [https://openjdk.org/jeps/400] we should consider the opposite this ticket proposes: Undepracate all APIs that use the default charset. We would then Javadoc these methods as using UTF-8 on Java 18 and up.

> Deprecate FileUtils.writeLines without charsets
> -----------------------------------------------
>
>                 Key: IO-842
>                 URL: https://issues.apache.org/jira/browse/IO-842
>             Project: Commons IO
>          Issue Type: Bug
>            Reporter: Elliotte Rusty Harold
>            Priority: Major
>
> Many of the FileUtils.writeLines methods use the system default encoding and should be deprecated. This might require providing replacements that do use an explicit encoding. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)