A common issue of Windows environment and the workaround - http://jroller.com/page/ff?entry=java_utf_8_bug_grief Strange String issues in JVM languages, don't trust all string operations all the time! https://sites.google.com/a/athaydes.com/renato-athaydes/posts/strangestringissuesinjvmlanguages http://mortoray.com/2013/11/27/the-string-type-is-broken/