1
I have some problems related to encoding. Both in eclipse and Visual Studio Code are aimed at UTF-8. When I repair and save using the eclipse, it goes fine. But when I save in Vscode, the encoding fails.
I use the eclipse only to compile my application, and I feel much more comfortable when developing in Vscode.
In my Vscode you already find in this configuration: "files.encoding": "utf8"
– Thiago Cunha
@Thiagocunha tried to use the
files.autoGuessEncoding
? The problem may also be in Eclipse (using other encoding than UTF-8)– Dherik
I tried yes! I went there in the eclipse, and UTF-8 is still being used, including in the configuration of the project.
– Thiago Cunha
@Thiagocunha, are you using Windows? If yes, open the file in Notepad, go to File > Save As and see what appears selected in the "Encoding"
– Dherik
ANSI, UTF-8, UNICODE, UNICODE BIG Endian
– Thiago Cunha
Which one appears selected when you open the file? This is the current encoding of the file. I asked you to confirm the file encoding.
– Dherik
In my eclipse this:Text file encoding: UTF-8/ New text file line demimiter: Unix
– Thiago Cunha
Let’s go continue this discussion in chat.
– Dherik