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 181884 - Run/Build Project lead to different default encodings
Summary: Run/Build Project lead to different default encodings
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-11 12:48 UTC by rehei
Modified: 2010-03-11 12:48 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rehei 2010-03-11 12:48:14 UTC
If I click "run project" in my IDE, my programm will work very well. It seems that UTF-8 is the default encoding then. If I Build the project and start the .jar file, these typical encoding problems will appear in my program. 

It appears in Windows XP and Windows 7, probably in Vista as well.

To my mind this is a very unsatisfying behaviour for the following reasons. 

1. If I develop an application under windows and test it manually by clicking "run project", then I should expect that the application runs on windows as intended.

2. If I am planning to develop a multi-os application, create the project in linux, and want to test it under windows within the IDE via "run project", and see that my programm works, then I also should expect that the application runs on windows as well.