Community
Participate
Working Groups
OS: SLES9 with SP1 Language: Simplified Chinese Build Level: 20050418 JDK version: J2RE 1.4.2 IBM build cxia32142sr1a-20050209 (JIT enabled: jitc) Summary: GB18030: The Uigur chars is replaced by Null in task button & by square mark in Eclipse title bar. Steps to Reproduce: 1 Create a simple project. 2. Right-click the project just created, select New->File 3. Enter name with Uigur char[unicode 0678]. -->Problem: The Uigur chars is replaced by Null in task button & by square mark in Eclipse title bar. Expected Result: The Uigur chars should be correctly displayed. Remark: 1. The screen capture is attached.(Uigur.PNG) 2. No such problem in Windows & RedHat platform. 3. Other 4-bytes and DBCS character haven't found this problem.
Created attachment 20284 [details] The Uigur chars show Null in task button & square mark in Eclipse title bar.
Move to Platform/UI
If I'm not mistaken Uigur characters are GB18030 2 which we currently do not support.
We are executing GB18030 compliance test. For this case, I found other DBCS and 4-bytes characters of GB18030 can be correctly shown on Eclipse 3.1 task button & title bar, except Uigur chars. Please see below GB18030 4-bytes 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
The title bar is rendered by your window manager (kwin). It seems that kwin/Qt is not able to render that character or substitute in another font to provide it, while GTK+/pango can. Open a terminal window, run the following command, and then click on the Eclipse window: xprop | grep NET_WM_NAME This will print the UTF8 string which is being sent to the window manager. If it is correct, you should probably open a bug against SuSE.
Did you find out what the bytes are in the title bar?
Sorry for late response. There are 2 kinds of eclipse title bar. One is the whole frame's (Uigur char displays as square mark), another is located at task menu(Uigur char displays as NUL). Running the command "xprop | grep NET_WM_NAME", click on the whole frame's title bar got below UTF8 strings: _NET_WM_NAME(UTF8_STRING) = 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x20, 0x2d, 0x20, 0xd9, 0xb8, 0x20, 0x2d, 0x20, 0x45, 0x63, 0x6c, 0x69, 0x70, 0x73, 0x65, 0x20, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x20 The "0xd9, 0xb8" is the correct UTF8 encoding of Uigur[unicode 0678]. Click on the task menu title bar nothing returned.
If the encoding is correct (and it is as far as I can tell, I tested by showing the string in a GtkLabel in a simple GTK+ application), then this is not a bug in eclipse but with KDE. The title bar and the task bar are parts of KDE. I would recommend filing a bug through SuSE.