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

Bug 224550

Summary: GB180303.4: Some 4-bytes GB18030 characters can't be displayed in Package Explore view.
Product: [Eclipse Project] Platform Reporter: yuchengz <yuchengz>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: camle, emoffatt, kitlo, kongxim, Silenio_Quarti, snorthov
Version: 3.4Flags: eclipse.felipe: review? (Silenio_Quarti)
Silenio_Quarti: review+
Target Milestone: 3.4 RC1   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
screenshot
none
Extention A
none
patch none

Description yuchengz CLA 2008-03-28 05:38:33 EDT
Created attachment 93956 [details]
screenshot

Build ID: I20080327-1631

Steps To Reproduce:
1. Create a java project with name e.g., “gbproj”.
2. Create a java class, enter 4-bytes GB18030 chars [unicode A000, 1821, 0f00] as class name, and then click Finish button.
3. Move mouse to Package Explore view, and expand the java project.
	--> Problem: The 4-bytes GB18030 characters can't be displayed in Package Explore view,

Expected Result:  The 4-bytes GB18030 characters should be displayed correctly in Package Explore view,


More information:
Remark:
1. The screenshot is attached.
2. No such problem in RHEL5.0 U1 and Win xp sp2 platform.
3. No such problem on IES3.3 (build id: I20070625-1500).
4. The same problem occurs on Outline view.
5. 4-bytes character range:
CharSet		GB18030 Range		Unicode
--------------------------------------------------------
Extension A	0x8139EE39-0x82358738	0x3400-0x4DB5
Uigur		0x81318132-0x81319934	0x060C-0x06FE
Tibetan		0x8132E834-0x8132FD31	0x0F00-0x0FCF
Mongolian	0x8134D238-0x8134E337	0x1800-0x18A9
Yi Syllables	0x82359833-0x82368F30	0xA000-0xA48F
Yi Radical	0x82368F31-0x82369435	0xA490-0xA4C6
Comment 1 Tod Creasey CLA 2008-03-28 09:14:46 EDT
Eclipse is currently GB 18030-1 compliant not GB 18030-2 which means we can display any character in the 2 byte Unicode set in the GB 18030 locale but not the 4 byte characters 

*** This bug has been marked as a duplicate of bug 22954 ***
Comment 2 Kit Lo CLA 2008-03-28 09:23:39 EDT
Tod, where do we document that "Eclipse is currently GB 18030-1 compliant not GB 18030-2"?
Comment 3 Tod Creasey CLA 2008-03-28 14:50:09 EDT
Reopening - this was working in 3.3.

See the 3.2 plan item - http://www.eclipsecon.com/eclipse/development/eclipse_project_plan_3_2.html

https://bugs.eclipse.org/bugs/show_bug.cgi?id=127864

which resolved this issue as LATER
Comment 4 Eric Moffatt CLA 2008-04-10 16:20:55 EDT
Passing to SWT for a look since it's apparently a 'vista' only effect...
Comment 5 Felipe Heidrich CLA 2008-04-14 13:55:10 EDT
fixed in HEAD > 20080404
verifed on I20080410-1022
see bug 192646
Comment 6 yuchengz CLA 2008-04-18 05:31:10 EDT
Verified on Build id I20080415-1646.The problem can be reproduced in Java editor only for Extension A chars, other 4-byte chars are ok.
Extension A character range:
CharSet         GB18030 Range           Unicode
--------------------------------------------------------
Extension A     0x8139EE39-0x82358738   0x3400-0x4DB5
Comment 7 yuchengz CLA 2008-04-18 05:36:04 EDT
Created attachment 96576 [details]
Extention A
Comment 8 Felipe Heidrich CLA 2008-05-07 16:11:24 EDT
Created attachment 99168 [details]
patch
Comment 9 Felipe Heidrich CLA 2008-05-07 16:54:13 EDT
fixed in HEAD > 20080507
Comment 10 yuchengz CLA 2008-05-15 22:47:56 EDT
Verified in IES 3.4 build I20080515-1652.