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"
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.
Set default encoding to UTF-8
Integrated into 'main-golden', will be available in build *201008170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: #189144 set default encoding to UTF-8