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");
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");
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.