Page 1 of 2
Incorrect file name when import from zip file [solved]
PostPosted:Tue Sep 01, 2015 7:49 am
by anniizkizz
I used WinRAR on Windows 7 to create zip file, then imported to OpenKM 6.3.0 which running on Windows 7 Server.
After imported from zip, the non-english filename was incorrect.
But if imported only one file at a time, the non-english filename has no problem.
As you can see in the below picture.
Do you have any suggestion?
Thank you in advance.
Untitled.jpg (25.03 KiB) Viewed 6673 times
Re: Incorrect file name when import from zip file
PostPosted:Wed Sep 02, 2015 8:28 am
by jllort
can you try with 7zip (
http://www.7-zip.org/ )
Re: Incorrect file name when import from zip file
PostPosted:Mon Sep 07, 2015 3:27 am
by anniizkizz
Thank you for your suggestion. I have already tried with 7-zip, but it still does not solve the problem.
Re: Incorrect file name when import from zip file
PostPosted:Tue Sep 08, 2015 11:03 am
by jllort
Can you try in our demo.openkm.com and tell us if goes right.
Re: Incorrect file name when import from zip file
PostPosted:Fri Sep 11, 2015 3:32 am
by anniizkizz
I have uploaded to OpenKM demo website. The non-english filename is still incorrect.
I have also uploaded the test Zip file to this comment.
Incorrect non-english filename.jpg (78.46 KiB) Viewed 6622 times
Re: Incorrect file name when import from zip file
PostPosted:Sun Sep 13, 2015 9:17 am
by jllort
I tryed to unzip the file in my linux and I see two files:
·´Êͺ.txt
Test.txt
Then I checked on my windows and similar result:
À|--|
Test
As you can see the first file is not able to be extracted on linux and probably on almost windows. Which is your windows locale ?
Re: Incorrect file name when import from zip file
PostPosted:Mon Sep 14, 2015 6:05 am
by anniizkizz
The filename is in Thai language.
I think the problem is about Zip file extracting.
Because when upload as a single file, the Thai filename display correctly.
But when upload Zip file that contain Thai filename, it displays incorrectly.
I am not sure that Windows 7/10 and OpenKM use which encoding.
Thai language uses UTF-8, TIS-620, ISO 8859-11, and Windows-874.
This is my Windows 10 regional setting.
Untitled.jpg (56.7 KiB) Viewed 6611 times
IE 11 on Windows 10 uses UTF-8 encoding.
Untitled2.jpg (68.28 KiB) Viewed 6611 times
Re: Incorrect file name when import from zip file
PostPosted:Wed Sep 16, 2015 7:27 am
by pavila
Hello,
I've created a sample ZIP with a file which name is in Thai and I can see the right name in Windows and Linux. The file was created using 7zip in Windows, but the same result when creating from Linux.
Regards.
Re: Incorrect file name when import from zip file
PostPosted:Mon Sep 21, 2015 4:03 am
by anniizkizz
Have you already tried to upload this "thai-test.zip" to OpenKM Demo website?
I have just tried to upload it, and Thai filename still incorrect.
But it shows in Windows explorer correctly.
Incorrect.jpg (46.11 KiB) Viewed 6582 times
Correct.jpg (57.13 KiB) Viewed 6582 times
Re: Incorrect file name when import from zip file
PostPosted:Mon Sep 21, 2015 6:20 pm
by pavila
I see, but it works fine in my computer. I need to verify what's happening because I can't understand it.
Re: Incorrect file name when import from zip file
PostPosted:Tue Sep 22, 2015 3:48 am
by anniizkizz
Could you please upload your file "thai-test.zip" to the OpenKM Demo website and take a screenshot picture?
Can you also make that file stays permanently for a while? Then I can check it later if the filename is correct.
Re: Incorrect file name when import from zip file
PostPosted:Tue Sep 22, 2015 7:43 am
by pavila
I said: It was working in my computer. I've tested in the online demo and shows the wrong name. That's because I need to check what's happening. I don't see any difference between my computer and the demo server.
Re: Incorrect file name when import from zip file
PostPosted:Tue Sep 22, 2015 10:03 am
by pavila
Re: Incorrect file name when import from zip file
PostPosted:Wed Sep 23, 2015 3:24 am
by anniizkizz
thai-test.zip Thai filename works correctly on OpenKM Demo website and my installed server.
But the Zip file which I have created is still not work.
Which software do you use to create Zip file on Windows?
Re: Incorrect file name when import from zip file
PostPosted:Wed Sep 23, 2015 8:30 am
by pavila
I used 7zip.
Regards.