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 20333 - I18N - Japanese characters are appeared incorrect in Terminal.
Summary: I18N - Japanese characters are appeared incorrect in Terminal.
Status: CLOSED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2002-02-08 11:31 UTC by hiroshiy
Modified: 2003-07-02 08:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen shot 1: "?????" in the message. (21.19 KB, image/gif)
2002-02-08 11:32 UTC, hiroshiy
Details
screen shot 2: Messages are appeared in English correctly. (27.38 KB, image/gif)
2002-02-08 11:33 UTC, hiroshiy
Details
Screen shot 1: Windows environment. (63.97 KB, image/gif)
2002-04-24 11:34 UTC, hiroshiy
Details
Screen shot 2: RedHat Linux. (61.71 KB, image/gif)
2002-04-24 11:35 UTC, hiroshiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hiroshiy 2002-02-08 11:31:31 UTC
To Reproduce:

1. In JA Locale, From [Filesystems] tab in [Explorer] window, 
   right click webmodule icon of "CD Shop Cart" (which is bundled in FFJ),
   and select [Build].
   Messages are appeared in the terminal.
   Messages in terminal are contain "???????".
   Originally, "???????" is string of japanese characters.

2. In en_US Locale, From [Filesystems] tab in [Explorer] window, 
   right click webmodule icon of "CD Shop Cart" (which is bundled in FFJ),
   and select [Build].
   Messages are appeared in the terminal.
   Messages in the terminal are appeared in English correctly.
Comment 1 hiroshiy 2002-02-08 11:32:44 UTC
Created attachment 4623 [details]
screen shot 1: "?????" in the message.
Comment 2 hiroshiy 2002-02-08 11:33:20 UTC
Created attachment 4624 [details]
screen shot 2: Messages are appeared in English correctly.
Comment 3 Petr Jiricka 2002-02-25 15:43:50 UTC
This is interesting. First it looked like this is a non-I18N-ed or 
non-localized message in the Tomcat server. However, it looks that 
the corresponding message appears correctly in Japanese Tomcat 
bundles:

jsp.message.accepted={1} \u3067 {0} \u3092\u53d7\u3051\u5165
\u308c\u307e\u3059

So the message should be translated correctly.

Either way, another bug was that the message appears in the std 
output at all - it should not. This is now fixed, so no messages 
should be appearing in the output window.
Comment 4 hiroshiy 2002-03-01 01:12:37 UTC
I've verified the fixing in "FFJ, EE 4.0 EA (Build 020228)"
Comment 5 Petr Jiricka 2002-04-23 10:02:13 UTC
Changing target milestone to FFJ 4.0
Comment 6 Petr Jiricka 2002-04-23 10:12:47 UTC
Changing target milestone to FFJ 4.0
Comment 7 hiroshiy 2002-04-24 11:33:10 UTC
This issue was re-appeared in Windows and RedHat linux.
Please confirm again.

Platform:
 Windows 2000 (Japanese) or RedHat Linux (Japanese)

To Reproduce:

  1. From [Filesystems] tab in [Explorer] window, unmount all mounted
entries.
  2. Mount empty directory as local directory. 
  3. Create jsp file from New Wizard on mounted directory.
  4. Right click mounted directory, and select [Tools] - [Add to
Project]
  5. From [Project Default] tab in [Explorer] window, expand the
mounted
       directory and click jsp file.
       Forrowing message is  appeared in terminal.

          ??????????: ???????? /WEB-INF/web.xml ????????????????
          ??????????: ???????? /WEB-INF/web.xml ????????????????

       Corresponding contents of en_US locale is as following ...

          Internal Error: File /WEB-INF/web.xml not found
          Internal Error: File /WEB-INF/web.xml not found
Comment 8 hiroshiy 2002-04-24 11:34:43 UTC
Created attachment 5536 [details]
Screen shot 1: Windows environment.
Comment 9 hiroshiy 2002-04-24 11:35:30 UTC
Created attachment 5537 [details]
Screen shot 2: RedHat Linux.
Comment 10 Petr Jiricka 2002-04-30 10:15:12 UTC
Ok, so this is a different error than the previous. Again, 
this is a message printed by Tomcat, so there is little 
chance that we can fix it. Also, the real bug is that the 
message should not appear at all, as the message is not 
informative. For this reason, I am lowering the priority 
to P3.

For this message, the corresponding property in the 
Japanese bundle.properties file is:

jsp.error.internal.filenotfound=\u5185\u90e8\u30a8\u30e9
\u30fc: \u30d5\u30a1\u30a4\u30eb {0} \u304c\u898b\u3064
\u304b\u308a\u307e\u305b\u3093

Is this correct ?
Comment 11 Ken Frank 2002-04-30 16:10:42 UTC
I think, in relation to showing messages from Tomcat or other
outside processes, if some encoding detection could be done
so that there is a chance that, in ja locale, user could
see Japanese messages from Tomcat, even if they were in
a different Japanese encoding.

See general rfe about this - 21930

ken.frank@sun.com
04/30/2002
Comment 12 Petr Jiricka 2002-06-21 15:02:12 UTC
Need a new version of Tomcat to fix this.
Resolved -> later.
Comment 13 hiroshiy 2002-11-27 00:30:53 UTC
I've verified the fixing in "NetBeans dev Build (Build 200211250100)".
Thank you all !!
Comment 14 Jesse Glick 2002-12-23 16:35:51 UTC
Consistent use of the I18N keyword.
Comment 15 Quality Engineering 2003-07-02 08:30:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.