Enforce default encoding - how to do it? [message #16603] |
Sun, 22 April 2007 07:01 |
Eclipse User |
|
|
|
Originally posted by: no.spam.thanks.com
Hello everyone,
I had Eclipse configured to use UTF-8 as the default text file encoding on
my workspace. At that time, I created a PHP project which I'm working on -
I'm mentioning this because I'm not sure if it's a project's setting.
All my PHP files were being saved as UTF-8, which is not what I wanted. So
when I noticed it I configured ISO-8859-1 as the default text file encoding,
but when I create a new PHP file it's still UTF-8 and I have to manually
change the text file encoding on the file properties. That only happens with
..php files, the others files such as .js, .css and .html are being created
fine as ISO-8859-1.
So my question is: how do I configure it to use always the Eclipse default
text file encoding?
Francisco
|
|
|
|
|
|
|
Re: Enforce default encoding - how to do it? [message #17557 is a reply to message #16702] |
Fri, 27 April 2007 00:03 |
Eclipse User |
|
|
|
Originally posted by: pavel.dvorak.work.gmail.com
I have similar problem. I want to set up default enoding as utf and
project encoding to windows-1250. I have set project encoding to
windows-1250 and nothing changes. Project files still open as utf. what
can i do?
|
|
|
|
Re: Enforce default encoding - how to do it? [message #17608 is a reply to message #17595] |
Fri, 27 April 2007 09:53 |
Eclipse User |
|
|
|
Originally posted by: pavel.dvorak.work.gmail.com
Christian Müller napsal(a):
> pavel.dvorak.work@gmail.com schrieb:
>> I have similar problem. I want to set up default enoding as utf and
>> project encoding to windows-1250. I have set project encoding to
>> windows-1250 and nothing changes. Project files still open as utf.
>> what can i do?
>
> As of now: Nothing except changing every single file manually.
>
> An other Comment stated, that you might be able to ovverride the
> "Content-Type-Enconding" by having subclipse-plugin active(?) on your
> project and set the project's encoding through this.
> But i didn't test it yet.
can you explain how? i don't understand how to set it using subclipse
|
|
|
Powered by
FUDForum. Page generated in 0.04771 seconds