Don't rely on plattform encoding.
Fix FindBugs warnings.