Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse : Force UTF-8 in the imported projects

When I ckeckout a project with CSV/SVN or import it from my local drive, I always have to set its properties to UTF-8 for the "text file encoding" and Unix for the "New text file line delimiter".

Is it possible to configure eclipse so that it applies automatically the UTF8 and Unix settings to the imported projects ?

Thanks.

like image 545
Ben Avatar asked Feb 15 '26 20:02

Ben


1 Answers

Window - Preferences - General - Workspace

and, for more fine-grained tuning by content type:

Window - Preferences - General - Content types

If you open the Preferences window and type "enco" in the filer text box, Eclipse will show all the preferences panels which contain encoding options.

like image 142
JB Nizet Avatar answered Feb 18 '26 16:02

JB Nizet



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!