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.
When i change the default encoding of a .java file to UTF-8 i see garbage on the screen instead of multibyte characters. The multibyte prefix and suffix appear because i am testing a pseudolocalized version of FFJ. Steps: 1.open a .java file in the source editor. 2.select the .java file in the Explorer and from the contextual menu choose properties. 3.Then click on the tab "Text" and type UTF-8 in the "encoding" text field. 4. Then close the .java file in the source editor and open it. Also i see a small "x" on the .java file in the explorer.I have attached a snapshot. Build:020506
Created attachment 5674 [details] garbage displayed with UTF-8 encoding
-> java module
Will investigate.
Can you, please, attach some simple utf-8 encoded text w/ Japanese characters inside ? Thanks.
Fixed in trunk. Checking in JavaParserGlue.java; /cvs/java/src/org/netbeans/modules/java/JavaParserGlue.java,v <-- JavaParserGlue.java new revision: 1.35; previous revision: 1.34 done
*** Issue 22735 has been marked as a duplicate of this issue. ***
Sol 8 environment is OK with your modification. But, this issue is reappeared in my Win 2000 environment. Please re-confirm this issue.
Hiroshi, can you check it in latest builds? I've tested it in 200206120100 in W2k and Solaris 8 and it works for me. Thanks
Hello Jan, In currently latest build, This issue is not re-appeared. (Build 020621_1 on Win2K) Thank you.
VERIFIED
Consistent use of the I18N keyword.
Resolved for 3.4.x or earlier, no new info since then -> closing.