Skip to content

Commit 5815293

Browse files
committed
SPecify the charset
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1747189 13f79535-47bb-0310-9956-ffa450edef68
1 parent b822510 commit 5815293

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
* <li>calculating a checksum
6868
* </ul>
6969
* <p>
70+
* Note that a specific charset should be specified whenever possible.
71+
* Relying on the platform default means that the code is Locale-dependent.
72+
* Only use the default if the files are known to always use the platform default.
73+
* <p>
7074
* Origin of code: Excalibur, Alexandria, Commons-Utils
7175
*
7276
* @version $Id$

0 commit comments

Comments
 (0)