Bug 129873 - [Import/Export] Cannot imported Zip file with files with accent in them
Summary: [Import/Export] Cannot imported Zip file with files with accent in them
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL: http://forum.java.sun.com/thread.jspa...
Whiteboard:
Keywords: helpwanted, nl
Depends on:
Blocks:
 
Reported: 2006-02-28 22:16 EST by Ricky Ng-Adam CLA
Modified: 2008-04-28 13:52 EDT (History)
2 users (show)

See Also:


Attachments
the test file (132 bytes, application/octet-stream)
2006-02-28 22:16 EST, Ricky Ng-Adam CLA
no flags Details
ZIP with german umlauts (642 bytes, application/octet-stream)
2008-04-28 08:14 EDT, Oliver Schäfer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricky Ng-Adam CLA 2006-02-28 22:16:12 EST
In 3.2.0M5; 

File > Import... 

General:Archive Files > Next

Browse for etoilefilante.zip (I'll attach this test file)

Finish

Result:

Import Problems
Problems were encountered during import:
Error opening input stream for ,toilefilant.tx

(the file should be étoilefilante.txt)
Comment 1 Ricky Ng-Adam CLA 2006-02-28 22:16:54 EST
Created attachment 35520 [details]
the test file
Comment 2 Ricky Ng-Adam CLA 2006-11-03 10:24:48 EST
This still fails in Eclipse 3.2.1...
Comment 3 Szymon Brandys CLA 2007-12-05 06:14:52 EST
This is still an issue in 3.3 and 3.4M3.

I made a short investigation.
1) project with "étoilefilante.txt" is created
2) in the filesystem the name is the same
3) the project is exported to zip file
4) inside of the zip there is "+¬toilefilante.txt" instead of "étoilefilante.txt"
5) the zip file is imported back and the name in the workspace is ok

It seems that this is a problem in the way how Java handles zipped files. I'm reassigning this issue to UI since wizards (and the archive file import stuff) belong to them.

Comment 4 Oliver Schäfer CLA 2008-04-28 08:13:19 EDT
Also an issue in 3.4M6a (Mac OS X):

I have a ZIP file with folder/file names containing german umlauts. The ZIP file was generated at Win XP.
Will attach test zip
Comment 5 Oliver Schäfer CLA 2008-04-28 08:14:11 EDT
Created attachment 97760 [details]
ZIP with german umlauts
Comment 6 Oliver Schäfer CLA 2008-04-28 11:54:50 EDT
Found this one at SUN's bug database:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4244499
Comment 7 Tod Creasey CLA 2008-04-28 13:43:13 EDT
Note that WinZip algorithm is not the same as the java zip algorithm so files creates in WinZip may not work with a java application (like Eclipse).

Do you have the same problem if you create it in Eclipse?
Comment 8 Oliver Schäfer CLA 2008-04-28 13:45:47 EDT
I don't have problems if I generate the ZIP file within eclipse.
Comment 9 Tod Creasey CLA 2008-04-28 13:52:29 EDT
This is an incompatibility between the 2 applications.