Unicode characters appear as question marks in IntelliJ IDEA console
console, intellij-idea, java, jvm, unicode
Solution
Is the file encoding configured correctly? See that "Settings | File Encodings" uses UTF-8. Printing ♠ works for me when I have IDE encoding and all files set to UTF-8. Recompiling may be needed after changing the encoding.
Problem
I'm trying to write Unicode characters (♠) using `System.out`, and a question mark (`?`) gets printed instead. How can I have proper Unicode characters displayed instead of question marks? I'm using IntelliJ IDEA on Windows, and trying to print from within the IDE.