Page 1 of 1

Export and Upload Error

PostPosted:Thu Feb 10, 2011 8:35 am
by foundstone
Hi all,

My OpenKM is v5.0. I'm a Traditonal Chinese user.

When I tried to select a folder and export to zip file, I found that only english named files can be export, but all of the Chinese named files are disappered! Nothing files have been downloaded.

Besides, when I zip the Chinese named files and upload to the folder, it decompress automatcially, however, all of the Chinese named files become "??????". If I upload the file each time. It have no problem.

Is it a bug or anyone can help to fix this problem?

Thank you~

Chris Man

Re: Export and Upload Error

PostPosted:Thu Feb 10, 2011 11:10 am
by jllort
First, better if you upgrading to 5.0.1

Which OS version are you using on that server ?
Could you test, in demo.openkm.com ( put two files on folder and export to zip file ) ?

Re: Export and Upload Error

PostPosted:Fri Feb 11, 2011 4:09 am
by foundstone
After updated to 5.0.1., download is okay.

However, when I zip several Chinese named files and upload to OpenKM. Extract the files, all file named become "╗y╜╒╣BÑ╬.doc".

How can I fix it?

Thank you.

Chris Man

Re: Export and Upload Error

PostPosted:Fri Feb 11, 2011 12:36 pm
by jllort
On which OS you've done the zip file ? and with which application ?

Re: Export and Upload Error

PostPosted:Sat Feb 12, 2011 4:30 am
by foundstone
jllort wrote:On which OS you've done the zip file ? and with which application ?
My client computer is windows 7. Both build in zip and winrar have been tested. No luck.

How can I fix it??

Thank you!

Chris Man

Re: Export and Upload Error

PostPosted:Sat Feb 12, 2011 11:11 am
by jllort
Can you try on our online demo at demo.openkm.com

Upload the zip file without decompressing and try decompressing too. If not runs give me the document zip path, and I'll testing in our environment

Re: Export and Upload Error

PostPosted:Sat Feb 12, 2011 3:21 pm
by foundstone
jllort wrote:Can you try on our online demo at demo.openkm.com

Upload the zip file without decompressing and try decompressing too. If not runs give me the document zip path, and I'll testing in our environment
Thank you for your help. I tried to uplaod to demo site. The problem is same.

Enclosed please find the zip file for your testing.

Thank you!

Chris Man

Re: Export and Upload Error

PostPosted:Mon Feb 14, 2011 6:18 pm
by pavila
Zip format does not really support UTF-8 encoding until the last specification. And event it support, every client does it in its own way. So the chinesse support depends on the program (and version) used to generate the zip. In our test, 7zip was supported (I don't remember right now the version tested). In the development version of OpenKM we added support for JAR archives, which are native UTF-8 compliant.

Re: Export and Upload Error

PostPosted:Tue Feb 15, 2011 8:43 am
by foundstone
pavila wrote:Zip format does not really support UTF-8 encoding until the last specification. And event it support, every client does it in its own way. So the chinesse support depends on the program (and version) used to generate the zip. In our test, 7zip was supported (I don't remember right now the version tested). In the development version of OpenKM we added support for JAR archives, which are native UTF-8 compliant.
Thank you for your help.

I tied my 7zip 9.2 client(windows) but it's still doesn't work.

Anyway, hope that OpenKM will support for JAR coming soon.

Thanks.

Chris Man

Re: Export and Upload Error

PostPosted:Tue Feb 15, 2011 7:53 pm
by pavila
Is already implemented in the development version, but not fully tested. Will be included in the next major OpenKM release.

Re: Export and Upload Error

PostPosted:Wed Feb 29, 2012 1:43 am
by liruixinsnake
pavila wrote:Is already implemented in the development version, but not fully tested. Will be included in the next major OpenKM release.
dear pavila: I tried in OpenKM-5.1.9 on windows 2003 server,using 7zip to compress chinese documents, when upload this zip file through 'import document from ZIP' , the chinese name display like “ ╥╡╬±—ú—Γ╞≈╧α╣╪╣?╛?”

also the problem is in the OpenKM.demo online. 2012-2-29 9:42

is there any advise?  thank you very much.

Re: Export and Upload Error

PostPosted:Mon Mar 05, 2012 3:01 pm
by pavila
Please, post a zip with several files to test.