Encoding problem(Mojibake) in downloaded assets
![]()
Hello.
I'm using RAM 7.5.0.2 on Windows XP (32bit). And I'm facing 1) I uploaded files to an asset successfully via Web browser. - Any file types lead to the same problem. - Those files have Japanese filenames. - Web browser is Firefox 3.6.10. 2) In the content of the asset detail information screen, those filenames are shown correctly.(no Mojibake here) 3) Pressing "Download this asset" button, a zipped file is saved on the local disk. 4) Unzipping the asset file, all Japanese files in the content are encoded incorrectly.(Mojibake) Is there anyone who faced the same problem? Any clue would be highly appreciated. |
5 answers
![]()
Hi,
You need to a use a newer unzip program. Many older unzip programs assume the filenames are in the local character set that the machine that is running the unzip is using. But with zips now coming from anywhere this is no longer a valid assumption. The zip filenames are stored in Unicode format. If your unzip program doesn't understand this then they will not unzip correctly. If you can't find a newer one that understands Unicode format filenames RAM does provide a simple rudimentary unzip program on its "Extensions" page. Click on the Help drop down and select the extensions page. It's under the heading "Archive Tool" -- Rich Kulp Rational Asset Manager developer |
![]() The zip filenames are stored in Unicode format. If your unzip program Thank you so much, Rich. As your advice, I installed a newer unzip program which can handle Unicode format, and I unzipped the downloaded asset with it. But it didn't work, and results into the same. Anyway, I appreciate your help. Izumi Satoh |
![]()
Then try the one that comes with RAM and see if it works. If it does
work then the problem is your updated zip program still doesn't know how to Unicode filenames. -- Rich Kulp Rational Asset Manager developer |
![]() Then try the one that comes with RAM and see if it works. If it does Hi, Thank you very much, Rich. I downloaded the jar file RAM provides. Could you please tell me how to use it in detail? |
![]()
Hi,
I found an unzip program that can handles Unicode filename and tried it as your advice. Then, this problem has been solved!! Thank you very much!! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.