Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 92549 - GB18030: The Uigur chars is replaced by Null in task button & by square mark in Eclipse title bar.
Summary: GB18030: The Uigur chars is replaced by Null in task button & by square mark ...
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.1   Edit
Hardware: PC Linux-GTK
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Billy Biggs CLA
QA Contact:
URL:
Whiteboard:
Keywords: nl
Depends on:
Blocks:
 
Reported: 2005-04-24 23:27 EDT by Cheng xu CLA
Modified: 2005-06-08 00:37 EDT (History)
2 users (show)

See Also:


Attachments
The Uigur chars show Null in task button & square mark in Eclipse title bar. (42.71 KB, image/png)
2005-04-24 23:29 EDT, Cheng xu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cheng xu CLA 2005-04-24 23:27:24 EDT
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.
Comment 1 Cheng xu CLA 2005-04-24 23:29:57 EDT
Created attachment 20284 [details]
The Uigur chars show Null in task button & square mark in Eclipse title bar.
Comment 2 Frederic Fusier CLA 2005-04-25 03:38:15 EDT
Move to Platform/UI
Comment 3 Tod Creasey CLA 2005-04-25 08:47:38 EDT
If I'm not mistaken Uigur characters are GB18030 2 which we currently do not
support.
Comment 4 Cheng xu CLA 2005-04-26 04:35:59 EDT
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
Comment 5 Billy Biggs CLA 2005-05-18 16:28:43 EDT
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.
Comment 6 Billy Biggs CLA 2005-06-03 16:51:55 EDT
Did you find out what the bytes are in the title bar?
Comment 7 Cheng xu CLA 2005-06-06 03:13:39 EDT
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.
Comment 8 Billy Biggs CLA 2005-06-08 00:37:45 EDT
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.