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.
Created attachment 101154 [details] screenshot : Japanese characters are garbled NetBeans IDE 6.9.1 (Build 201007282301) Files generated by IDE for RESTful web service testing are using iso-8859-1. So localized strings are garbled. 1. Start NetBeans 2. Create a Web project 3. Create RESTful web service from database 4. Run RESTful web service Some HTML files are generated but it defines iso-8859-1 as charset in it e.g. in test-resbeans.html. <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> The HTML file contains localized strings so it should be the same encoding of source encoding. Localized strings should be output by using the encoding. Currently it seems that platform encoding is used. Or using UTF-8 is fine.
Fixed. Set default encoding to UTF-8 http://hg.netbeans.org/web-main/rev/2c3417a9dd75
Integrated into 'main-golden', will be available in build *201008170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2c3417a9dd75 User: mkuchtiak@netbeans.org Log: #189144 set default encoding to UTF-8