Chr*_*ski 3 opensuse character-encoding sublimetext2
我有sublime-project文件如下:
{
"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
}
}
Run Code Online (Sandbox Code Playgroud)
选项:"default_encoding"和"fallback_encoding"没有任何效果 - 当我打开ST2文件已经打开Windows 1252编码.
怎么了?也许有另一个选项迫使ST2使用编码?
当我忘记使用"打开编码"菜单选项并弄乱大文件时有点令人沮丧,有时我必须将其删除并再次从回购中拉出来.
我使用的是OpenSuse 12.3.
你应该把"default_encoding"
和"fallback_encoding"
成"settings"
{
"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
}
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3711 次 |
最近记录: |