Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » default encoding
default encoding [message #336402] Wed, 10 June 2009 08:14 Go to next message
Zohar Amir is currently offline Zohar AmirFriend
Messages: 419
Registered: July 2009
Senior Member
Hello,
I'm using Galileo RC3.
I want the default workspace encoding to be UTF-8. At the moment, each time
I create a new workspace I have to set the encoding to UTF-8 (I sometimes
forget and get punished). Any way of doing this?
Thanks,
Zohar.
Re: default encoding [message #336412 is a reply to message #336402] Wed, 10 June 2009 12:11 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
zohar wrote:
> Hello,
> I'm using Galileo RC3.
> I want the default workspace encoding to be UTF-8. At the moment, each
> time I create a new workspace I have to set the encoding to UTF-8 (I
> sometimes forget and get punished). Any way of doing this?
If you have your projects in a repository then the best way is to set
the encoding on the project and hence share it.

To make sure you don't forget to the workspace setting you could use a
start script that sets the file.encoding property.

Dani
> Thanks,
> Zohar.
>
>
Re: default encoding [message #336430 is a reply to message #336412] Thu, 11 June 2009 10:45 Go to previous messageGo to next message
Zohar Amir is currently offline Zohar AmirFriend
Messages: 419
Registered: July 2009
Senior Member
1. how do I save this setting for the project?
2. are there any command line args I can use to do that?

"Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
news:h0o7u8$es6$1@build.eclipse.org...
> zohar wrote:
>> Hello,
>> I'm using Galileo RC3.
>> I want the default workspace encoding to be UTF-8. At the moment, each
>> time I create a new workspace I have to set the encoding to UTF-8 (I
>> sometimes forget and get punished). Any way of doing this?
> If you have your projects in a repository then the best way is to set the
> encoding on the project and hence share it.
>
> To make sure you don't forget to the workspace setting you could use a
> start script that sets the file.encoding property.
>
> Dani
>> Thanks,
>> Zohar.
>>
>>
Re: default encoding [message #336433 is a reply to message #336430] Thu, 11 June 2009 12:05 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
zohar wrote:
> 1. how do I save this setting for the project?
If your project is shared with a team provider (e.g. CVS) then you will
see a change after setting the project encoding. Simply commit that change.
> 2. are there any command line args I can use to do that?
-vmargs -Dfile.encoding=UTF-8

Dani
>
> "Daniel Megert" <daniel_megert@ch.ibm.com> wrote in message
> news:h0o7u8$es6$1@build.eclipse.org...
>> zohar wrote:
>>> Hello,
>>> I'm using Galileo RC3.
>>> I want the default workspace encoding to be UTF-8. At the moment,
>>> each time I create a new workspace I have to set the encoding to
>>> UTF-8 (I sometimes forget and get punished). Any way of doing this?
>> If you have your projects in a repository then the best way is to set
>> the encoding on the project and hence share it.
>>
>> To make sure you don't forget to the workspace setting you could use
>> a start script that sets the file.encoding property.
>>
>> Dani
>>> Thanks,
>>> Zohar.
>>>
>>>
Previous Topic:[Update Site] metadata
Next Topic:WizardResourceImportPage.createDestinationGroup is final?
Goto Forum:
  


Current Time: Tue Apr 16 22:00:46 GMT 2024

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

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

Back to the top