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 7422 - Editor saves Japanese text as "?????????"
Summary: Editor saves Japanese text as "?????????"
Status: CLOSED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 critical (vote)
Assignee: Petr Jiricka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-08-18 02:48 UTC by John Baker
Modified: 2002-07-19 15:20 UTC (History)
0 users

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 John Baker 2000-08-18 02:48:43 UTC
Using Japanese build 1076 on Japanese Solaris or Build 1078 on Japanese Solaris.

To reproduce:

1) Right-click on mounted Development filesystem node and choose
   from the popup menu, New->JSP & Servlet->JSP (Plain Text)
2) Provide a name for the .jsp file
3) In the editor, enter some Japanese text, for example, copy text from
   a Japanese terminal and paste in the editor.
4) Save file.
5) Exit and restart Forte For Java
6) Note that the Japanese text that was pasted shows as "???????"
Comment 1 Miloslav Metelka 2000-08-18 12:36:59 UTC
It looks like JSP only problem. It works fine with java or plain text for
example. I guess BaseJspEditor.loadFromStreamToKit() or saveFromKitToStream()
could be the problem.
Comment 2 John Baker 2000-08-22 20:46:59 UTC
This is not a bug.  The Encoding property for the .jsp must be set
to Shift_JIS for Windows or EUC-JP for Solaris prior to saving the file.