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

Summary: setting default java encoding for a project
Product: projects Reporter: strzinek <strzinek>
Component: Generic InfrastructureAssignee: Jesse Glick <jglick>
Status: CLOSED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.