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 88252 - i18n - invalid mbyte in newly created WSDL document
Summary: i18n - invalid mbyte in newly created WSDL document
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: WSDL Tools (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-10-30 16:38 UTC by sunlit
Modified: 2007-09-28 21:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (24.94 KB, image/gif)
2006-10-30 16:39 UTC, sunlit
Details
image (113.30 KB, image/jpeg)
2007-08-03 20:28 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunlit 2006-10-30 16:38:20 UTC
build 1013, all platforms except solaris Ja_utf8 locale, 
in bundled Travel Reservation Service choose to create a new WSDL document, 
give it a name in mbyte (e.g. Ja characters), then observe invalid mbyte in
navigator, design and properties windows. This issue does not happen in solaris
ja-utf-8 locale. 
Gifs are attached.
Comment 1 sunlit 2006-10-30 16:39:09 UTC
Created attachment 35644 [details]
screenshot
Comment 2 Shivanand Kini 2006-11-28 22:34:28 UTC
saving the file with mbyte characters using FileWriter caused this problem.

The fix is to switch to outputstreamwriter with utf-8 charset and then write the
file contents.
Comment 3 Shivanand Kini 2006-11-28 22:50:28 UTC
Fixed in release55 and release551 branch
Comment 4 kaa 2007-05-23 17:22:47 UTC
verified: build 0516, Japan locale, fontsize 16
Comment 5 kaa 2007-08-03 20:28:17 UTC
The problem exists:
1. on WinXP if there are ja chars at the end of WSDL doc name
2. on Solaris with ja (non utf-8) locale
Comment 6 kaa 2007-08-03 20:28:59 UTC
Created attachment 46138 [details]
image
Comment 7 Shivanand Kini 2007-08-03 21:19:22 UTC
can you attach the project with japanese wsdl files?
Comment 8 Ken Frank 2007-08-06 15:34:21 UTC
Andrey will open a new issue today on this since the original one was on nb5, and about travel reservation;
this now is more general on any bpel process; I think a new issue will be more clear, and since this issue
itself was fixed for nb5

Andrey, please put version value in new issue as nb6.

ken.frank@sun.com
Comment 9 kaa 2007-08-06 17:40:34 UTC
fixed in nb5.5
created separate issue 112099 for nb6
Comment 10 Ken Frank 2007-09-28 21:08:00 UTC
verifying since new issue opened for nb6.

ken.frank@sun.com