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 77166 - I18N - compile source code with user specify encoding
Summary: I18N - compile source code with user specify encoding
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ide
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-05-31 16:28 UTC by tprochazka
Modified: 2008-04-23 13:17 UTC (History)
2 users (show)

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 tprochazka 2006-05-31 16:28:17 UTC
When I use
Options -> Editing -> Java Sources -> Default Encoding: UTF-8

And create new project a try compile it. Netbeans don't use UTF-8 for source but 
use system default encoding.

I must manually add  -encoding UTF-8 to Build -> Compiling in Project Properties.

What about add to project config dialog input field for project source encoding?
And when I create new project NB use value set in Options -> Editing -> Java 
Sources -> Default Encoding.
Comment 1 tprochazka 2007-01-11 14:25:47 UTC
In actual dev version of Netbeans 6 is this options gone.

Maybe in new version will be better way how to set default encoding for all 
files. I hope, that UTF-8 will be default.
Comment 2 tprochazka 2007-03-06 18:24:22 UTC
I think, that this bugs is blocked with:
http://www.netbeans.org/issues/show_bug.cgi?id=42638
and will be fixed with it.
Comment 3 tprochazka 2007-05-03 09:14:55 UTC
I think, that this may be close. This is fixed in General project already.
Comment 4 Petr Dvorak 2008-04-23 13:17:37 UTC
Default encoding is UTF-8 in NB 6.1.

I am closing this enhancement proposal for now. If there is any reason to reopen it, feel free to do so.