Description
DirectoryIndexer.doVelocity() method use a FileWriter to write file. The FileWriter using the platform default character encoding. It's better to construct an OutputStreamWriter on a FileOutputStream and takes outputEncoding as parameter.