Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change encoding in Eclipse

I was working on my project in Windows using Eclipse (and I didn't check that my encoding was CP-1251). Now am going to work with my project in Linux with Eclipse too, but with UTF8 encoding, so all my comments are now non readable.

Can I just reconvert them into UTF using Eclipse?

like image 537
bukka.wh Avatar asked Jan 21 '14 15:01

bukka.wh


1 Answers

You can set up the encoding used by eclipse in the Preferences section

Window -> Preferences -> General -> Workspace -> Text file encoding

You can also override it for a single project only if that is the only project you are having trouble with.

like image 146
Arnaud Potier Avatar answered Nov 06 '22 08:11

Arnaud Potier