7.3 Enabling NetStorage to Download Multiple Files and Folders in Non-English Language

NetStorage zips multiple files and folders into a single file (using an encoding mechanism) and sends it to the clients. If filenames are in non-English language, then the encoding used for zipping may not match with the encoding used by unzipping utility on client’s machine. In this case, the extracted zip file may have garbage characters as filenames.

To prevent this, you must do the following:

  1. Modify the Settings.properties file located in the /opt/novell/netstorage/webapp/WEB-INF/classes directory to ensure that it has the correct encoding type for the language that users will be using. For instance, the encoding used universally for Chinese is GB2312 and for French-Canada is fr_CA;ibm850. Add the following line at the end of Settings.properties file:

     ZipEncoding = en;ASCII,zh_CN;GB2312,zh;GB2312,zh-CN;GB2312,fr_CA;ibm850

    NOTE:You can add language encoding formats for other language types also.

  2. Restart tomcat and apache for the changes to take effect.

    NOTE:NetStorage reads the browser language and maps the encoding type from Settings.properties file.