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 55739 - setting default java encoding for a project
Summary: setting default java encoding for a project
Status: CLOSED DUPLICATE of bug 19928
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-01 22:06 UTC by strzinek
Modified: 2006-03-24 10:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description strzinek 2005-03-01 22:06:30 UTC
opposed to pre-4.0 releases, the default java
encoding is now a global setting. There is no way
to set different encodings for projects, except
setting encodings on individual files, which is
not very practical
Comment 1 Jesse Glick 2005-03-10 16:36:00 UTC
Generally missing a comprehensive system for managing file encodings, both for
the editor and for build processes. For current versions of NB, it is best to
use \uXXXX escapes, or to stick to the platform default encoding.

*** This issue has been marked as a duplicate of 19928 ***
Comment 2 strzinek 2005-07-21 16:02:51 UTC
Workaround for this:
specify encoding of a project by adding "-encoding XXX" to Additional compile
options in Project settings

I'd like to see you use \u escapes in code - it's simply unreadable. 
Comment 3 Marian Mirilovic 2005-12-20 16:04:02 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. 

Thanks in advance.