Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Encoding problem(Mojibake) in downloaded assets

Hello.

I'm using RAM 7.5.0.2 on Windows XP (32bit).

And I'm facing a problem that Japanese filenames in downloaded asset are encoded incorrectly(Mojibake).

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.

0 votes



5 answers

Permanent link
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

0 votes


Permanent link
The zip filenames are stored in Unicode format. If your unzip program
doesn't understand this then they will not unzip correctly.


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

0 votes


Permanent link
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

0 votes


Permanent link
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.


Hi,
Thank you very much, Rich.

I downloaded the jar file RAM provides.

Could you please tell me how to use it in detail?

0 votes


Permanent link
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!!

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 07 '11, 2:52 a.m.

Question was seen: 6,766 times

Last updated: Apr 07 '11, 2:52 a.m.

Confirmation Cancel Confirm