I imagine Swing uses the system encoding. What does Charset.defaultCharset() print out for you? Telling us the command line arguments you used and the relevant bits of the system environment would be useful.