Another thought, you can check if this is not problem with your IDE configuration. Assuming you're using Intellij, then check your file encodings settings: Settings -> Editior -> File encodings. 

Use the UTF-8, Luke! File Encodings in IntelliJ IDEA | The IntelliJ IDEA Blog