gedit自动识别文件编码

Content-Type: text/x-zim-wiki
Wiki-Format: zim 0.4
Creation-Date: 2011-01-28T16:01:42.107435

====== gedit自动识别文件编码 ======
Created 星期五 28 一月 2011

gedit默认只能UTF-8编码的文件,通过gconf可以设置其编码检测的编码列表,以达到自动识别编码的效果。

gconftool-2 --set --type=list --list-type=string /apps/gedit-2/preferences/encodings/auto_detected "[UTF-8,CURRENT,GBK,BIG5-HKSCS,UTF-16]"


<div id="cse" style="width: 100%;">Loading</div>
<script src=\'#\'" //www.google.com/jsapi" type="text/javascript"></script>
<script type="text/javascript">
  google.load('search', '1', {language : 'zh-CN', style : google.loader.themes.BUBBLEGUM});
  google.setOnLoadCallback(function() {
    var customSearchControl = new google.search.CustomSearchControl('010332879517243466893:mkzf9b3r8zq');
    customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
    customSearchControl.draw('cse');
  }, true);
</script>
 

你可能感兴趣的:(ubuntu,职场,gedit,休闲)