Monday, April 09, 2007

IntelliJ supports UTF-8?

One of my colleague complained that the IntelliJ does not support UTF-8 correctly:
  1. System.out.println("Dealer Caterpillar ciężkiego używanego wyposażenia i używanych części"); when you run it, the special character corrupted.
  2. After you safe the java file, restart the Intellij, the special character corrupted.
Here is my trick: In Intellij Settings->General->Default encoding, choose UTF-8 and restart, the java file will be stored in UTF-8 encoding.

1 comment:

Kiwicmc said...

In IntelliJ 10, this has moved to Settings->File Encodings

Thanks for the original post!