This Java version requires a special locale that will guarantee a proper round trip, so that what we read from find can also be opened. On Linux Mint 17, you can set up the magic locale, ISO-8859-1, with: $ echo en_US.ISO-8859-1 ISO-8859-1 >> /var/lib/locales/supported.d/en $ locale-gen BTW, if you don't have this locale, the program will act as though everything is fine - until you hit a filename with a special character in it.