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 18589

Summary: I18N - An indication error on browser.
Product: ide Reporter: hiroshiy <hiroshiy>
Component: Internal ServerAssignee: _ rkubacki <rkubacki>
Status: CLOSED WORKSFORME    
Severity: blocker CC: jf4jbug
Priority: P4 Keywords: I18N
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 14702    
Bug Blocks:    
Attachments: Screen shot 1: correct japanese characters in explorer window.
Screen shot 2: invalid japanese characters in IE.

Description hiroshiy 2001-12-13 04:01:49 UTC
Viewing the HTML file which contains the Double Byte character
in the file name, 
misconversion is contained in the URL, and it fails in the indication
 of the file.

The present condition occurs only on Windows + IE.
It doesn't occur on any UNIX.  

I think that, this function should implement "URL Encoding". 
	
To reproduce: (only on Windows + IE)
	- Generate HTML File which contains the Double Byte character
		in the file name.
	- At Filesystems tab in Explorer Window, right click the HTML file
		and select [View].
Comment 1 _ lkramolis 2001-12-13 08:58:00 UTC
This could be HTML module's bug, which provides View action on html
file. Also this could be bug of openide, which provides URL of
specified file object.
Comment 2 _ rkubacki 2002-01-15 16:38:44 UTC
httpserver wraps the URL so it can be accessed from external
application like web browser
Comment 3 _ rkubacki 2002-03-22 15:17:45 UTC
Hiroshi, can you try this with JDK1.4? URLEncoder and URLDecoder
should be modified here to handle multibytes better. Can you also
write what URL is exactly passed to browser?
Comment 4 hiroshiy 2002-03-25 09:41:44 UTC
Hello Radim,

This issue is reappeared in my environment.
   - Windows 2000 Professional SP2 (Japanese)
   - JDK 1.4 (build 1.4.0-b92)
   - FFJ EE 4.0 EA (Build 020322)
   - IE 5 (Japanese)

Please confirm this issue once again.

To Reproduce:

 - From [Filesystems] tab in [Explorer] window, 
   right click "test.html" (but "test" is written by japanese
characters)
   and select [view].
Comment 5 hiroshiy 2002-03-25 09:43:08 UTC
Created attachment 5166 [details]
Screen shot 1: correct japanese characters in explorer window.
Comment 6 hiroshiy 2002-03-25 09:44:21 UTC
Created attachment 5167 [details]
Screen shot 2: invalid japanese characters in IE.
Comment 7 _ rkubacki 2002-06-07 14:02:37 UTC
In NB3.4 it should be OK for files mounted in soem directories. It
will still fail for ZIP, JAR and similar archives. Can you confirm this?
Comment 8 Marek Grummich 2002-07-22 09:15:08 UTC
Set target milestone to TBD
Comment 9 Marek Grummich 2002-07-22 09:17:37 UTC
Set target milestone to TBD
Comment 10 hiroshiy 2002-10-29 10:32:20 UTC
This issue is no longer re-appeared in current version.
Comment 11 hiroshiy 2002-10-29 10:35:03 UTC
CLOSED.
Comment 12 Jesse Glick 2002-12-23 16:36:50 UTC
Consistent use of the I18N keyword.