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 168517 - Document character encoding settings is not flexible enough
Summary: Document character encoding settings is not flexible enough
Status: RESOLVED DUPLICATE of bug 114123
Alias: None
Product: java
Classification: Unclassified
Component: I18N (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 02:19 UTC by jack_2008
Modified: 2009-10-06 15:25 UTC (History)
1 user (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 jack_2008 2009-07-14 02:19:39 UTC
对js文件的编码不能正确识别.
在此提个建议.希望能针对某个文件进行编码的转换.如gbk与utf-8. 而不是针对整个系统进行编码设置.
Comment 1 Alexei Mokeev 2009-07-30 09:19:39 UTC
I updated the subject line using automatic translation. And here the description's translation:
--
Js files to not be able to correctly identify the encoding.
In this suggestion. Want to encode a file for conversion. Gbk with as utf-8. And not for the entire system encoding
settings.
--
jack_2008, please describe the current behavior and the desired behavior. From the the above description it's hard to
detect what's wrong.
Comment 2 roti 2009-07-31 09:53:57 UTC
I have the same problem:
I have a project with utf8 encoding. Having all the file with utf8. Despite of this, the js files opened with the 
system default encdoding. (winxp, hungary: latin2)

As I described in http://www.netbeans.org/issues/show_bug.cgi?id=114123

in the projects, the default handling of file encoding should stay, but an option is needed in project properties:
a checkbox in Project/Properties/Sources/Encoding "use this encoding for all project files" to enable that all the 
files in the project be handled with the project's encoding.
ed checkbox)
Comment 3 pribyl 2009-10-06 15:25:34 UTC
Marking as duplicate of issue 114123, so it is "under one roof" and easier to track.

*** This issue has been marked as a duplicate of 114123 ***