When I try to print a special character like "?, ?, ü, á, é, etc..." with
fun main() { println("?") }
Intellij outputs:
>Task :FirsttryKt.main() ? BUILD SUCCESSFUL in 1s ...
How can I print the "?" or other non ascii characters?
It's a known bug.
As a workaround you can add -Dfile.encoding=UTF-8 in Help | Edit Custom VM Options and restart IntelliJ IDEA.
-Dfile.encoding=UTF-8
2.1m questions
2.1m answers
60 comments
57.0k users