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.