Archiver has problems with umlauts in filenames

Upload core product.

Archiver has problems with umlauts in filenames

Postby Chris78 » Thu Mar 12, 2009 12:13 pm

Hi there!

Using the client side zip functionality of JFileUpload, the packer seems to have problems with umlauts in the filenames.
For example, the file "änderung.txt" will be packt into a "änderung.txt.archive.zip", which contains a file called "+ñnderung.txt".

Is it possible to add utf-8 encoding support to the packer?

Regards,
Chris
Chris78
 
Posts: 22
Joined: Fri Aug 15, 2008 9:51 am

Re: Archiver has problems with umlauts in filenames

Postby support » Thu Mar 12, 2009 6:46 pm

No, it's a known problem reported at the end of:
http://www.jfileupload.com/products/jfi ... ssion.html

A solution is to replace non-ASCII characters by underscore with:
<PARAM NAME="preprocessingfilterparam5" VALUE="entrytemplate">
<PARAM NAME="preprocessingfiltervalue5" VALUE=":regex=[^a-zA-Z0-9_/\\\\\\-\\.]:_:">

As detailed in the tutorial. Could it help ?
User avatar
support
 
Posts: 1398
Joined: Sun Jan 27, 2008 6:19 pm

Re: Archiver has problems with umlauts in filenames

Postby Chris78 » Fri Mar 13, 2009 9:02 am

Ok, this could help.

Thanks!
Chris78
 
Posts: 22
Joined: Fri Aug 15, 2008 9:51 am


Return to JFileUpload



cron

Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.