1

When I open IDEA with a project, which includes tomact, I meet the messy code, as follow:

enter image description here

When I reload coding scheme with UTF-8, the problem still exists. I search for this way: File was loaded in the wrong encoding:'UTF-8' in IntelliJ IDEA

However, it is still not effective.

MLavoie
  • 9,671
  • 41
  • 36
  • 56
Qj Jack
  • 11
  • 1
  • 3
  • It looks like the code of this .java file is corrupted. What is shown on your screenshot is not a file loaded in a wrong encoding, it's just garbage. – yole Mar 07 '18 at 10:04

1 Answers1

1

enter image description here

  1. Close the IDE.
  2. Deleted this directory
  3. Run the IDE again.

That's my way... and hope it could help someone.

Kerberos
  • 4,036
  • 3
  • 36
  • 55