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.
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.
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.
>>
>>
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.
>>>
>>>