tags:

views:

52

answers:

1

Whenever I add a new html file (or other text file) to the project its encoding is set to Cp1250. I am not sure why, I guess this is probably because input language in windows is set to Polish (which is correct for me as it's my native language and I dont want to change it). Anyway, eclipse says that Cp1250 is a 'default' encoding and I have to manually change it to UTF-8 each time I add anything.

So where exactly can I change the default encoding to UTF-8? I've set the encoding by right-clicking on whole project but it didn't help. I can't find anything in options. It's so annoying...

I'm using 'Helios' release of the eclipse and use it with pydev if that matters.

+2  A: 

Window -> Preferences -> General -> Workspace : Text file encoding

nanda
Thanks! I was looking at Preferences->General->Editors->Text editors....
PawelRoman
There should be a search box in the preferences dialog. Type the first few letters of the thing you're trying to set (say "enco") and automagically it will display which panes are relevant. Great tip next time for finding one of the many hidden prefs.
Jordan Reiter