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 78120 - I18N - Multibyte project names not rendered properly in explorerl
Summary: I18N - Multibyte project names not rendered properly in explorerl
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-06-16 15:12 UTC by bugbridge
Modified: 2007-09-24 15:00 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
snapshot of the projects (46.25 KB, image/jpeg)
2006-09-15 21:07 UTC, Sreenivasan Genipudi
Details
4 Projects with Japanese names (7.36 KB, image/png)
2006-09-20 14:01 UTC, Michael Frisino
Details
Language Setting panel (33.01 KB, application/octet-stream)
2006-09-20 16:12 UTC, Michael Frisino
Details
Language Setting panel (33.01 KB, image/png)
2006-09-20 16:12 UTC, Michael Frisino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2006-06-16 15:12:07 UTC
Description:
Steps to reproduce:
- Call new orchestration project wizard.
- Add some russian letters to 'Project Name' field (or name project in russian).
- Press Finish button.
- Open bpel multy-view editor.
- Noticed that project name looks incorrect (russian letters shows as square) in
bpel source, on diagram, in properties window, in editors ...

Evaluation:
related to other bug on project name and russian characters.
Comment 1 Praveen Savur 2006-08-23 23:37:32 UTC
Process is no longer created as part of the New Project wizard. So marking this
bug as invalid
Comment 2 Michael Frisino 2006-08-24 00:33:11 UTC
i am reopening this because I am not sure we have exhausted the issues.

Yes, new process is different from new projecct. But really we need to
understand whether both of those are working for multibyte languages (Japanese,
Chinese). I have seen Russian work and Japanese not work in the diagram. 

Let this bug focus on the explorer view , i.e. the Project and File  name in the
explorer.  

There is already another bug about multibyte for bpel elements.
Comment 3 Sreenivasan Genipudi 2006-09-15 21:04:32 UTC
This issue in relation to Bpel project :

When I type in Chinese Character to the project name, it creates a new BPel
project with folder name containing those Chinese character. 

On windows Explorer I see the folder containing the chinese character.
On the GUI , it doesnt show the Chinese characters instead it is showing 
weird character like small square.. This is happening only for the new Project.

If another project is created with chinese character, the old project name that
had the weird character disappears and it starts to display the chinese
characters. But  on the new project, the chinese characters are replaced by
square boxes.. (weird character). 

I will attach 2 snap shots. First one when after you create a project and 
how it displays in the project tree.

Second one Create another new project with chinese character and old project 
created in step 1 starts displaying fine. The new one will have the weird
characters.


This problem is not bpel project specific issue..This is seen in all over the
projects ( Java/ comp app/ Enterprise application )..

This seems to be netbeans issue in displaying the project in project tree

Please reassign this to netbeans.



Comment 4 Sreenivasan Genipudi 2006-09-15 21:07:33 UTC
Created attachment 34034 [details]
snapshot of the projects
Comment 5 Michael Frisino 2006-09-20 11:35:44 UTC
This issue was raised in context of BPEL project, but observation was made that
this seems to be a general problem across all NetBeans projects.
Comment 6 Michael Frisino 2006-09-20 11:39:10 UTC
perhaps this is a duplicate of a well know NetBeans issue?
Comment 7 Michael Frisino 2006-09-20 14:01:13 UTC
Created attachment 34235 [details]
4 Projects with Japanese names
Comment 8 Michael Frisino 2006-09-20 14:02:05 UTC
some followup on this. See attached image.

I created several projects, 3 BPEL and 1 Java Application project. I used
Japanse characters for all 4 projects.

In every case the project node in explorer origianlly showed up with the little
squares rendering. But curiously, at one point, one of the BPEL project nodes
actually re-rendered properly with Japanese character. You can see in the image.
3 projects have the "bug" while one project looks ok. Strange.

Comment 9 Michael Frisino 2006-09-20 14:04:21 UTC
wow, its more strange than I thought. In the time I was taking to use the snap
impage utility, it looks like the BPEL project nodes were refreshed and in their
refresh they rendered fine. So the attached image only shows problem in 1
project - the Java project. But trust me, the BPEL project labels were also
broken at first. 
Comment 10 Ken Frank 2006-09-20 15:59:32 UTC
This might be dup of 78971.

Or it might be as mentioned below a nb (or jdk issue) that I have not been
able to figure out how to replicate outside ide.

Try this:

on windows, run with larger fontsize - the problem might not be there ?

on windows, run with this fontsize you used; when the project is the 
main project, and its name in bold, you see the boxes, but when its not,
you don't see them ?

on solaris, run with default fontsize; you probably wont see this problem in
explorer ?

I've seen this mostly in some parts where bold font is used but sometimes
not.

Am guessign you are using en windows and setting other locales
vs using real localized windows, where the square boxes situation does
not seem to happen.

PS if this issue is related to above and not to 78971, then if you
have any clues on how or why it happens, I can file issue on nb or jdk
or it could be that when windows installs the fonts for ja or zh, not
all get installed, or it might be jdk mapping.

I compared names of asian fonts mapped to jdk font names on en and real
localized but the names seemed the same.

ken.frank@sun.com
Comment 11 Michael Frisino 2006-09-20 16:12:19 UTC
Created attachment 34244 [details]
Language Setting panel
Comment 12 Michael Frisino 2006-09-20 16:12:32 UTC
Created attachment 34245 [details]
Language Setting panel
Comment 13 Michael Frisino 2006-09-20 16:14:37 UTC
yes, I am using Windows. 
I added language packs for Japanese and Chinese. 
I changed the Text Service and Input Language in Regional and Language Options
to Japanese.
I started IDE with -locale ja 
Comment 14 Jesse Glick 2006-09-25 20:49:48 UTC
Need to know whether the project name as given in nbproject/project.xml (which
should be in UTF-8 encoding) is correct or not.
Comment 15 Milan Kubec 2007-02-16 08:30:31 UTC
Please could you answer Jesse's question. Thanks.
Comment 16 Milan Kubec 2007-08-15 14:22:09 UTC
Setting to future until there is some info.
Comment 17 Milan Kubec 2007-09-24 15:00:06 UTC
There is no response from reporter, closing. Reopen if you can still reproduce and provide requested info. Thanks.