// setting the default encoding programmatically
System.setProperty( "file.encoding", "UTF-8" );