Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 57691

Summary: DBCS: Export a DBCS Java Project as JAR file, DBCS data shows not properly.
Product: [Eclipse Project] Platform Reporter: leading <wswb0922>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, ycpeng
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: other   
Whiteboard:
Attachments:
Description Flags
Screen shot none

Description leading CLA 2004-04-07 00:14:57 EDT
Reporter:Louis Cai
OS: RHEL WS 3.0 -GTK & windows 2003 Standard Edition
Language: CHS/CHT/KOR
Build level: wswb-30M8-200403311308
JDK Version: IBM JDK 1.4.2 Beta
Test case #: 
Summary: DBCS: Export a DBCS Java Project as JAR file, DBCS data shows not 
properly.
Description: 
Steps to recreate problem:
1- New a DBCS java Project, Right click on the project, click File-
>Export...from menu bar.
2- Then select "JAR file" and then click Next.
3- Select one resource in "Select the resource to export" and input the export 
destination and jar file name(Use SBCS name) in "JAR file".
4- Click "Finish".
5- Double click file you exported in the file system, Verify it(Also verify the 
contents in the jar).
<<Error>> 
         DBCS data shows not properly in JAR file.
        <note>
         The same problem also exist after you export a DBCS Java Project as 
ZIP file.
        </note>
<<Expected Result>>
         DBCS data shows properly in JAR file
Comment 1 leading CLA 2004-04-07 00:16:17 EDT
Created attachment 9275 [details]
Screen shot
Comment 2 Dani Megert CLA 2004-04-07 02:56:36 EDT
I suspect some problems using Core APIs since - as mentioned - this also happens
when using normal ZIP export.
Comment 3 Rafael Chaves CLA 2004-04-07 12:49:01 EDT
Just to make sure: we are talking about file names, not file contents here, right?

If so, this is a known issue: bug 21454.
Comment 4 Rafael Chaves CLA 2004-04-07 13:48:58 EDT
Note that if the ZIP/JAR file is re-imported using Eclipse (or another Java
application), everything works fine (since the same encoding will be used during
encoding and decoding). Marking as duplicate.

*** This bug has been marked as a duplicate of 21454 ***
Comment 5 leading CLA 2004-04-07 21:16:38 EDT
Yes, you are right, the file name is show as garbage.
Comment 6 leading CLA 2004-04-16 04:45:35 EDT
closing. See bug21454 comment for reasons. We can accept the reason and close 
this defect.
Comment 7 leading CLA 2004-04-16 06:04:44 EDT
Since it's java.util.zip limitation and not plan to be compatible with Winzip 
in DBCS Enviroment, we can accept this and close this defect.