Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse for Java encoding
Eclipse for Java encoding [message #1727224] Mon, 21 March 2016 12:18 Go to next message
Cassian Braconnier is currently offline Cassian BraconnierFriend
Messages: 8
Registered: March 2016
Junior Member
Hi,
I would like to know how I may edit Eclipse Preferences so that it compiles as if the following flag was set :
javac -encoding UTF-8

(my Eclipse version is Mars.1 (4.5.1)).
Thanks.
Re: Eclipse for Java encoding [message #1727293 is a reply to message #1727224] Mon, 21 March 2016 19:27 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Eclipse doesn't use javac unless you're using a tool like Maven or Ant, in which case you set those options their way. If you want your workspace files to be created and treated as UTF-8 by default, set that in the Workspace preference page. http://help.eclipse.org/mars/topic/org.eclipse.platform.doc.user/reference/ref-9.htm?cp=0_4_1_53

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse for Java encoding [message #1727317 is a reply to message #1727293] Tue, 22 March 2016 07:03 Go to previous message
Cassian Braconnier is currently offline Cassian BraconnierFriend
Messages: 8
Registered: March 2016
Junior Member
Thanks a lot.
Previous Topic:How to carry out workbench actions through plugin
Next Topic:Eclipse extra credit assignment out of my league (PLEASE HELP!)
Goto Forum:
  


Current Time: Thu Apr 18 09:01:38 GMT 2024

Powered by FUDForum. Page generated in 0.04723 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top