您的位置:首页 > 其它

gedit自动识别文件编码

2011-07-17 10:27 190 查看
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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: