Problem java characters in Eclipse

0

When importing a project in eclipse I get errors in the characters of my java file. I give an example, does anyone know the solution?

System.out.println("ERROR:al cerrar la conexión");

    
asked by Juan 05.11.2018 в 20:41
source

1 answer

1

This is related to the coding of your files, in the case of Eclipse you can avoid this problem by changing the coding to UTF-8 , you can do it this way:

Preferences > General > Workspace Here you must select UTF-8 as the encoding for your files.

link

    
answered by 06.11.2018 в 17:29