[
https://issues.apache.org/jira/browse/IO-847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elliotte Rusty Harold closed IO-847.
------------------------------------
> Deprecate public static boolean contentEqualsIgnoreEOL(final File file1,
> final File file2, final String charsetName)
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: IO-847
> URL: https://issues.apache.org/jira/browse/IO-847
> Project: Commons IO
> Issue Type: Improvement
> Reporter: Elliotte Rusty Harold
> Priority: Minor
>
> Files can be compared byte per byte and we have a method to do that. I can't
> see a reason to convert two files to the same character set and then compare
> them. This gives the same answer in all cases where the character encoding is
> recognized. If the character set isn't available, it might or mght not fail
> in a new but unhelpful way.
> Arguably there is a use case for comparing two files with two different
> character sets, but that's not what this method does.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)