Character encoding 如何在SublimiteText2中有效地设置项目默认编码?

Character encoding 如何在SublimiteText2中有效地设置项目默认编码?,character-encoding,sublimetext2,opensuse,Character Encoding,Sublimetext2,Opensuse,我有如下升华项目文件: { "default_encoding": "Central European (ISO 8859-2)", "fallback_encoding": "Central European (ISO 8859-2)", "folders": [ { "folder_exclude_patterns": [ "*.Trash*" ], "follow_symlinks": true

我有如下升华项目文件:

{
"default_encoding": "Central European (ISO 8859-2)",
"fallback_encoding": "Central European (ISO 8859-2)",
"folders":
[
    {
        "folder_exclude_patterns":
        [
            "*.Trash*"
        ],
        "follow_symlinks": true,
        "path": "cok_gnb"
    },
    {
        "follow_symlinks": true,
        "path": "Dokumenty"
    }
],
"settings":
{
    "line_padding_bottom": 3,
    "tab_size": 4
}
}
选项:“默认_编码”和“回退_编码”无效-当我打开ST2时,文件已使用Windows 1252编码打开

怎么了?也许还有另一种方法可以强制ST2使用编码

当我忘记使用“OpenwithEncoding”菜单选项并弄乱大文件时,我会感到沮丧,有时我不得不将其删除并再次从回购中取出

我使用OpenSuse 12.3

您应该将
“默认\u编码”
“回退\u编码”
放入
“设置”


我没有答案,但您是否尝试过:
{
    "folders":
    [
        {
            "folder_exclude_patterns":
            [
                "*.Trash*"
            ],
            "follow_symlinks": true,
            "path": "cok_gnb"
        },
        {
            "follow_symlinks": true,
            "path": "Dokumenty"
        }
    ],
    "settings":
    {
        "default_encoding": "Central European (ISO 8859-2)",
        "fallback_encoding": "Central European (ISO 8859-2)",
        "line_padding_bottom": 3,
        "tab_size": 4
    }
}