[Pydev-users] [Users] Automatically detecting source file encoding
Brought to you by:
fabioz
From: SourceForge.net <no...@so...> - 2011-08-15 15:33:16
|
The following forum message was posted by erickrf at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4657240: Eclipse is not correctly detecting some of my files' encoding. I found this ticket in the tracker, which supposedly addressed the problem: https://sourceforge.net/tracker/index.php?func=detail&aid=1580757&group_id=85796 &atid=577329, but it happens with me all the same. I tried writing at the first line of a UTF-8 file both [code]# -*- coding: utf-8 -*-[/code] and [code]# coding=utf-8[/code] but it didn't help; it seems Eclipse opened it with the default system encoding. Am I missing something? |