This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 42319 - In zh_CN.GBK locale, Chinese characters can not be input to text area of all dialog window
Summary: In zh_CN.GBK locale, Chinese characters can not be input to text area of all ...
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@ide
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2004-04-22 09:34 UTC by agctools
Modified: 2004-04-23 11:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description agctools 2004-04-22 09:34:22 UTC
1. Start IDE with zh_CN.GBK locale
2. Right-click a folder in filesystem view and
select [Search].
3. Invoke the input method and try to input some
Chinese characters, but nothing can be accepted.
4. It happens also when rename a file, create a
new file, and etc.
Comment 1 agctools 2004-04-22 09:41:23 UTC
The linux I use is RedHat 9
Comment 2 Marian Petras 2004-04-22 09:48:29 UTC
If I understand correctly, it is not possible to enter chinese
characters in any textfield in any dialog (possibly in the whole IDE).
Comment 3 agctools 2004-04-22 10:07:49 UTC
In fact I can, except GBK locale.
For example, I can search a Chinese string, give a Chinese name to a
file, and etc.
Comment 4 liuyh 2004-04-23 04:58:12 UTC
Another case is on Windows 2000, Chinese locale, if you take a look at
"open file" dialog, all Chinese characters are shown as hollow block.

Suppose they are the same problems. So I didn't open a new bug. Am I
right?
Comment 5 Marian Petras 2004-04-23 08:35:58 UTC
Hollow blocks instead of characters are displayed if the JRE (Java
Runtime Environment) does not know how to display the characters. It
is not a problem of the IDE.
Comment 6 Marian Petras 2004-04-23 08:38:25 UTC
Hints:
- maybe the zh_CN.GBK locale is not supported? The name of the locale
  seems a little bit strange - locale identifiers usually contain
  only letters and underscores.
- documents which could help with the issue:
     http://java.sun.com/j2se/1.4.2/docs/guide/intl/intlTOC.doc.html
     http://java.sun.com/j2se/1.4.2/docs/guide/intl/locale.doc.html
     http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html
Comment 7 agctools 2004-04-23 11:50:52 UTC
It is due to RedHat, so I close it.
Comment 8 agctools 2004-04-23 11:53:03 UTC
On RedHat 9, Chinese characters can not be input with GBK locale.