• File name encode while unzip files

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #14256  by vivimo
 
Hello

I have a little bit problem. When I upload files one by one and in file names are polish characters, everything is ok. But when I upload files in zip archive, server extract them without polish characters.

Any idea how to solve that?

Server is:
OpenKM 5.1.9
Windows 2008 Server
MySQL 5.5

Best Regards
 #14285  by pavila
 
ZIP archive format originally does not support UTF-8 encoding for file names. So depending on the program used, it write file names in different encoding formats. Please, attach a ZIP archive to test in my local installation.
 #14306  by pavila
 
I have created a sample.zip using 7zip 9.20 from a Windows 7, using Cyrillic characters in filename and works fine. ZIP archive uploaded to the demo server and exploded.
 #14309  by vivimo
 
As I can see, Cyrilic works but I use Latin alphabet with polish characters like ąśźćż ect. We figure out that OpenKM use old zip library without UTF-8, but since 2007 zip standard can official handle UTF-8 encode in filenames. Why is that?
 #14333  by pavila
 
I have imported this zip in the demo and works fine. This one contains files with Cyrilic and Polish characters.
Attachments
(1.19 KiB) Downloaded 255 times
 #14374  by vivimo
 
WOW, whot did You use? 7zip? In my instalation also your archive works but mine not.

There is something wrong. When I upload your sample.zip it looks great but when I download it on my local computer, extract and again add to archive, polish characters doesn't came up. What the f...? I use 7-zip 9.20 x64 and Win 7 x64.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.