Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Is there a way to set default text editor encoding to UTF-8 ?
Is there a way to set default text editor encoding to UTF-8 ? [message #254784] Tue, 22 June 2004 15:33 Go to next message
Eclipse UserFriend
Hi,

Does any one know how I can set the default text editor encoding for Eclipse
2.1.2 to UTF-8 programmatically ? I want to do this the first time Eclipse
initiliazes the workspace directory so that for a new installation, I'll
always have it in UTF-8.

In general, how can I modify the default settings of a new Eclipse
installation ???

Thanks,
Michael
Re: Is there a way to set default text editor encoding to UTF-8 ? [message #255107 is a reply to message #254784] Wed, 23 June 2004 16:28 Go to previous message
Eclipse UserFriend
Originally posted by: chaves.nospam.inf.ufsc.br.ok

Programmatically, you can set the same preference set when using the
preferences dialog: ResourcesPlugin.PREF_ENCODING. Or you can have it set
as default from scratch by using the plugin_customization.ini file. See
"Preferences defaults" section at:

http://help.eclipse.org/help21/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/product_config.htm

Michael Permana wrote:

> Hi,

> Does any one know how I can set the default text editor encoding for Eclipse
> 2.1.2 to UTF-8 programmatically ? I want to do this the first time Eclipse
> initiliazes the workspace directory so that for a new installation, I'll
> always have it in UTF-8.

> In general, how can I modify the default settings of a new Eclipse
> installation ???

> Thanks,
> Michael
Previous Topic:RCP app - howto restore workspace
Next Topic:unable to run eclipse M9
Goto Forum:
  


Current Time: Wed May 07 12:31:30 EDT 2025

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

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

Back to the top