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 91353 - I18N - chinese characters in widget.json of jmakiI
Summary: I18N - chinese characters in widget.json of jmakiI
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ludo
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-12-20 16:34 UTC by joemiao
Modified: 2007-05-30 17:38 UTC (History)
2 users (show)

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 joemiao 2006-12-20 16:34:01 UTC
----------chinese characters in widget.json of jmaki--------------
I've got a problem when use Chinese characters in widget.json file of jmaki.
Whenever I was able to copy or type few Chinese in widget.json, but it became 
a funny letter at run time
or even I closed it and reopened.

Do you know why? FYI, I was able to code in Chinese with JSPs and all other 
java files without any issues
because my default encoding is UTF-8. 
But widget.json of jmaki is listed as "Unrecognized File", it apparently 
didn't pick upthe default Editor settings.

I thank any of you answering my question in advance!

Joe
Comment 1 Miloslav Metelka 2007-01-11 19:32:16 UTC
I guess the editor module does is not directly involved here.
Reassigning to web module where I hope they evaluate the problem.
Comment 2 Petr Pisl 2007-02-14 09:24:50 UTC
Ludo, probably the problem is in your area.
Comment 3 Ken Frank 2007-02-16 19:10:05 UTC
probably should be a p2 since that is usual priority of encoding issues.
Comment 4 _ ludo 2007-02-16 19:32:58 UTC
Not sure why.
In any case, the JSON file is open by the open source javascript editor outside
NetBeans, so that would be a bug in this module, I think.
http://www.liguorien.org/javascripteditor/

For NetBeans 6.0, the IDE will have a javascript editor and we need to make sure
chinese json file can correctly open there.
Comment 5 _ ludo 2007-05-30 17:38:15 UTC
This bug is from the external JS editor used for Nb 5.5

Since NetBeans 6.0 has finally a Javascript editor (that also can edit json
files), I think the latest editor should work with chinese characters.
If not, Open a P2 bug for NetBeans 6.

Marking as fixed in NB 6.
Cannot fix for NetBeans 5.5 since we do not control the source code for the
external editor