Wrong assumption about default encoding for Java on Windows.

Please include this short fix. Else It wont maven build on windows because of failed tests.