eclipse keeps encoding my templates as cp1252 instead of utf8

593 views
Skip to first unread message

sas

unread,
May 24, 2011, 3:07:08 AM5/24/11
to play-framework
I have several .html templates and tag files, and everytime I open my
project, all of them are encoded with cp1252.

Right-clicking on the file, and choosing properties, I see

Text file encoding
(selected) Default (determined from content: Cp1252)
Other: (combo)

If I select UTF8, everything works fine, but once again if I close and
open the project the file is cp1252 encoded again

In the project properties I've defined UTF8 as the default, but it
doesn't seem to work

saludos

sas

Jan

unread,
May 24, 2011, 3:34:46 AM5/24/11
to play-framework
Hi saludos,

Try to set the encoding for the workspace (Window/Preferences/General/
Workspace) and restart Eclipse. This fixed the issue for me.

Regards,
Jan

sas

unread,
May 25, 2011, 7:43:16 PM5/25/11
to play-framework
yes, it worked

thanks a lot, jan

saludos

sas

On 24 mayo, 04:34, Jan <j...@schulte-rebbelmund.de> wrote:
> Hi saludos,
>
> Try to set theencodingfor the workspace (Window/Preferences/General/
Reply all
Reply to author
Forward
0 new messages