锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久se精品一区精品二区国产,久久久久久毛片免费看,久久国产精品-国产精品http://www.shnenglu.com/Viking/category/16542.html闆嗕腑綺懼姏錛屾斁寮冧竴鍒囩殑鍘誨仛涓浠朵簨鎯咃紝鍙灝藉姏浜嗭紝鍗充嬌澶辮觸浜嗭紝浣犱篃涓嶄細鍚庢倲錛?/description>zh-cnSun, 12 Feb 2012 19:19:43 GMTSun, 12 Feb 2012 19:19:43 GMT60JS鍐欑殑:鏃㈠彲浠ヨ緭鍏ュ張鍙互閫夋嫨鐨剆electedhttp://www.shnenglu.com/Viking/archive/2012/02/07/165083.html寮犺吹宸?/dc:creator>寮犺吹宸?/author>Tue, 07 Feb 2012 03:08:00 GMThttp://www.shnenglu.com/Viking/archive/2012/02/07/165083.htmlhttp://www.shnenglu.com/Viking/comments/165083.htmlhttp://www.shnenglu.com/Viking/archive/2012/02/07/165083.html#Feedback0http://www.shnenglu.com/Viking/comments/commentRss/165083.htmlhttp://www.shnenglu.com/Viking/services/trackbacks/165083.html
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<Script Language="JavaScript">
<!--
 var whichText;
    function selectStation(obj) {
  var objSelStation  = obj;
        if (obj.selectedIndex != -1) {
            var stationName = obj.options[obj.selectedIndex].text;
            whichText.value = stationName;
        }
    }
 
 //鍝嶅簲text鐨勪簨浠?br /> var pageD =0, pageU;
    function similarFind(txtObj,seledName) {
        var curStationName = txtObj.value;
        var objSelStation  = eval("document.browser."+seledName);
        var stationLength  = objSelStation.options.length;
  pageU = pageD;
        
  //鍖歸厤鐢╰ext涓殑鏁版嵁璺熶笅鎷夋涓殑鏁版嵁
        for (var i=0; i<stationLength; i++) {
            var stationName = objSelStation.options[i].text;
            var re = new RegExp("^" + curStationName);
   if (stationName.match(re)) {
                if (i<stationLength - 10) {
                    objSelStation.selectedIndex = i + 10;
                }
                objSelStation.selectedIndex = i;
    pageD = i;
    pageU = i;
                break;
            }
        }
  //鍝嶅簲涓嬬Щ閿?br />  if(event.keyCode==40) {
   pageD++;
   if(pageD==objSelStation.options.length) pageD=0;
   txtObj.value=objSelStation.options[pageD].text ;
   objSelStation.selectedIndex = pageD;
        }
  //鍝嶅簲涓婄Щ閿?br />  if(event.keyCode==38) {
   --pageU;
   if(pageU<0) pageU=objSelStation.options.length-1;
   txtObj.value = objSelStation.options[pageU].text;
   objSelStation.selectedIndex = pageU;
        }
    }
 //涓嬫媺妗嗘樉紺轟綅緗?br />    function showDivStation(obj, b,selName) {
        var divStation = eval("document.browser."+selName);
        if (b) {
            whichText = obj;
            divStation.style.top = 20;
            divStation.style.left = 0;
            divStation.style.display="block";
            similarFind(obj,selName);
        } else {
            divStation.style.display="none";
        }
    }
//-->
</Script>
<BODY bgcolor="#FFFFFF" topmargin="0" leftmargin="0">
<form name="browser" >
<table border="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
  <tr>
    <TD width="6%" valign="top">POSTCODE </TD>
     <TD width="94%" bgcolor="#FFFFFF"> 
  <input type="text" size="20" name="stationname" style="width:120" onfocus="showDivStation(this, true,'selStation')" onblur="showDivStation(this, false,'selStation')" onkeyup="similarFind(this,'selStation')" value=""> 
  <select name="selStation" size="5" style="display:none;width:120; background-color:#CCCC99" onclick="selectStation(this)" onkeyup="selectStation(this)">
   <option value="1" >aaa</option>
   <option value="2" >aab</option>
   <option value="3" >aac</option>
   <option value="4" >aba</option>
   <option value="5" >abb</option>
   <option value="6" >abc</option>
   <option value="7" >baa</option>
   <option value="8" >bab</option>
   <option value="9" >bac</option>
   <option value="10" >caa</option>
   <option value="11" >cab</option>
   <option value="12" >cac</option>
  </select>
 </td>
</table>
</form>
</BODY>
</HTML>


]]>
Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉?/title><link>http://www.shnenglu.com/Viking/archive/2011/12/26/js.html</link><dc:creator>寮犺吹宸?/dc:creator><author>寮犺吹宸?/author><pubDate>Mon, 26 Dec 2011 10:29:00 GMT</pubDate><guid>http://www.shnenglu.com/Viking/archive/2011/12/26/js.html</guid><wfw:comment>http://www.shnenglu.com/Viking/comments/162863.html</wfw:comment><comments>http://www.shnenglu.com/Viking/archive/2011/12/26/js.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/Viking/comments/commentRss/162863.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/Viking/services/trackbacks/162863.html</trackback:ping><description><![CDATA[<span id="r3pb139" class="Apple-style-span" style="color: #323e32; font-family: simsun; font-size: 14px; background-color: #0f0f0f; "><div><p align="center" style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><strong style="font-weight: bold; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><a style="text-decoration: none; color: #8d7c00; "><font color="#7297CE" style="word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">Js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡涓皟鐢ㄥ叾瀹?/span></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">Js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鍑芥暟鐨勬柟娉?/span></span></font></a></span></strong></p></div><p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">銆銆鍦ㄩ」鐩紑鍙戣繃紼嬩腑錛屼篃璁鎬綘浼氶亣榪欐牱鐨勬儏鍐點傚湪鏌愪竴</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">Js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡涓渶瑕佸畬鎴愭煇涓鍔熻兘錛屼絾榪欎竴鍔熻兘鐨勫ぇ閮ㄥ垎浠g爜鍦ㄥ彟澶栦竴涓?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">Js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡涓凡緇忓畬鎴愪簡錛岃嚜宸卞彧闇瑕佽皟鐢ㄨ繖涓柟娉曞啀鍔犱笂鍑犲彞浠g爜灝卞彲浠ュ疄鐜版墍闇鐨勫姛鑳姐傛垜浠煡閬擄紝鍦?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">html</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓紝鍒╃敤<br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><script language="javascript" type="text/javascript" src="../script.js"></script><br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">寮曞叆鐨勪袱涓?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏄笉鍙互鐩鎬簰璋冪敤鐨勩傞偅涔堣濡備綍瑙e喅鍛紵褰撶劧錛屼綘鍙互灝嗕唬鐮侀氶?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">copy</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">榪囨潵錛岃繖鏍蜂細璁╀綘鐨刡.js浼氬彉寰楀緢闀匡紝涔熻宸茬粡褰卞搷鍒頒簡浣犲b.js鐨勫畾浣嶄簡錛屾鏌ワ紝緇存姢閮戒細鍙樺緱楹葷儲.<br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">銆銆渚嬪鏈夎繖鏍蜂竴涓?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">html</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">錛岄噷闈㈡湁涓涓寜閽紝褰撴寜涓嬫椂璋冪敤</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡涓殑鏂規硶</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b()</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">銆傝?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b()</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓張瑕佽皟鐢?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">a.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡涓殑鏂規硶</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">a()</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">銆傞偅鎴戜滑搴旇鎬庝箞鍋氬憿錛?br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">銆銆棣栧厛錛屾垜浠湪</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">html</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓紩鍏?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">錛屽茍鍦?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "></body></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涔嬪悗鍔犲叆寮曠敤璇彞銆傚繀欏繪敞鎰忥紝灝嗚寮曞叆鐨?span style="word-wrap: normal; word-break: normal; line-height: 21px; ">Js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡浠g爜鏀懼湪</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "></body></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓嬮潰銆?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><br /></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; "><</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #800000; ">html</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #000000; "><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr> <wbr></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; "><</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #800000; ">body</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #000000; "><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr> <wbr> <wbr> <wbr> <wbr></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; "><</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #800000; ">input <wbr></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #ff0000; ">type</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">="button"</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #ff0000; "> <wbr>value</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">="ok"</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #ff0000; "> <wbr>onclick</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">="javascript:b()"</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #000000; "><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr> <wbr></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; "></</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #800000; ">body</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #000000; "><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #008000; "><!--</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #008000; ">榪欓噷寮曠敤瑕佹斁鍦╞ody涓嬮潰</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #008000; ">--></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #000000; "><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; "><</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #800000; ">script <wbr></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #ff0000; ">language</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">="JAVASCRIPT"</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #ff0000; "> <wbr>src</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">='b.js'</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">></</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #800000; ">script</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #000000; "><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; "></</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #800000; ">html</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #0000ff; ">></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #000000; "><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " />銆<span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡涓紩鍏.js,鍐呭濡備笅錛?/span></span></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; color: #000000; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">new_element=document.createElement_x("script");<br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr>new_element.setAttribute("type","text/javascript");<br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " />new_element.setAttribute("src","a.js");// <wbr>鍦ㄨ繖閲屽紩鍏ヤ簡a.js<br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr>document.body.appendChild(new_element);<br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr><br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr>function <wbr>b() <wbr> <wbr>{<br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr> <wbr> <wbr> <wbr> <wbr>a();<br /><img align="top" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" real_src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" alt="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" title="Js鏂囦歡涓皟鐢ㄥ叾瀹僇s鍑芥暟鐨勬柟娉曪紙杞級" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; " /> <wbr>}<br />銆鍦?span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡涓墠</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">4</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">琛屼唬鐮佷腑鎴戜滑寮曞叆浜?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">a.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡錛屽茍鍦ㄧ</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">7</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">琛屼唬鐮佷腑璋冪敤浜?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">a.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">浠g爜涓殑</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">a()</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂規硶銆?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><br /><br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">銆銆璁╂垜浠潵鍒嗘瀽涓涓嬪叧閿殑鍑犲彞浠g爜錛氶鍏堬紝鎴戜滑鍒╃敤</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">document.createElement_x("script")</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鐢熸垚浜嗕竴涓?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">script</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鐨勬爣絳撅紝璁劇疆鍏?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">type</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">灞炴т負</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">text/javascript</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">錛?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">src</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">a.js(</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">榪欓噷鐨?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">a.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鍚?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏀懼湪鍚屼竴涓洰褰曪紝涔熷彲鏀懼湪涓嶅悓鐨勭洰褰?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">)</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">銆傛渶鍚庡皢榪欎釜鏍囩鍔ㄦ佸湴鍔犲叆</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">body</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓傚姝や竴鏉ワ紝鎴戜滑灝卞彲浠ヨ皟鐢ㄥ埌涓嶅悓</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鏂囦歡涓殑鏂規硶浜嗐?/span></span></span></span></span></p><p style="margin-top: 0px; margin-right: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; list-style-type: none; list-style-position: initial; list-style-image: initial; word-wrap: normal; word-break: normal; line-height: 21px; "><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><strong style="font-weight: bold; color: #ff0000; ">娉ㄦ剰</strong>錛?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "><</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">script <wbr></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">language</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">="JAVASCRIPT"</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; "> <wbr>src</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">='b.js'></</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">script</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓瀹氳鏀懼湪</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">body</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓嬮潰銆?br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鍥犱負鍦?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓敤鍒頒簡</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">body</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">錛?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">document.body.appendChild(new_element);</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">錛?/span> <span style="word-wrap: normal; word-break: normal; line-height: 21px; "><br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">濡傛灉灝嗗紩濡?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">鐨勪唬鐮佹斁鍦?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">body</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓婇潰錛屼篃灝辨槸璇達紝</span> <span style="word-wrap: normal; word-break: normal; line-height: 21px; "><br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">榪涘叆欏甸潰鍚庯紝榪樻病鏈夌敓鎴?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">body</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">灝卞凡緇忔墽琛?/span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">b.js</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">閲岀殑</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">document.body.appendChild(new_element);</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">浜嗐?/span> <span style="word-wrap: normal; word-break: normal; line-height: 21px; "><br /></span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">榪欐椂</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">body</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">涓嶅瓨鍦ㄥ氨浼氭姏</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">javascript</span><span style="word-wrap: normal; word-break: normal; line-height: 21px; ">閿欒銆?/span></p></span><img src ="http://www.shnenglu.com/Viking/aggbug/162863.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/Viking/" target="_blank">寮犺吹宸?/a> 2011-12-26 18:29 <a href="http://www.shnenglu.com/Viking/archive/2011/12/26/js.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>VIM 鏂囦歡緙栫爜璇嗗埆涓庝貢鐮佸鐞?http://www.shnenglu.com/Viking/archive/2011/04/12/143997.html寮犺吹宸?/dc:creator>寮犺吹宸?/author>Mon, 11 Apr 2011 23:28:00 GMThttp://www.shnenglu.com/Viking/archive/2011/04/12/143997.htmlhttp://www.shnenglu.com/Viking/comments/143997.htmlhttp://www.shnenglu.com/Viking/archive/2011/04/12/143997.html#Feedback0http://www.shnenglu.com/Viking/comments/commentRss/143997.htmlhttp://www.shnenglu.com/Viking/services/trackbacks/143997.html #TITLE: VIM 鏂囦歡緙栫爜璇嗗埆涓庝貢鐮佸鐞?
 
edyfox

鍦?Vim 涓紝
鏈夊洓涓笌緙栫爜鏈夊叧鐨勯夐」錛?br> 瀹冧滑鏄細
''fileencodings''銆?br> ''fileencoding''銆?br> ''encoding'' 鍜?''termencoding''銆?br> 鍦ㄥ疄闄呬嬌鐢ㄤ腑錛?br> 浠諱綍涓涓夐」鍑虹幇閿欒錛?br> 閮戒細瀵艱嚧鍑虹幇涔辯爜銆?br> 鍥犳錛?br> 姣忎竴涓?Vim 鐢ㄦ埛閮藉簲璇ユ槑紜繖鍥涗釜閫夐」鐨勫惈涔夈?br> 涓嬮潰錛?br> 鎴戜滑璇︾粏浠嬬粛涓涓嬭繖鍥涗釜閫夐」鐨勫惈涔夊拰浣滅敤銆?br>
* encoding

''encoding'' 鏄?Vim 鍐呴儴浣跨敤鐨勫瓧絎︾紪鐮佹柟寮忋?br> 褰撴垜浠緗簡 ''encoding'' 涔嬪悗錛?br> Vim 鍐呴儴鎵鏈夌殑 buffer銆?br> 瀵勫瓨鍣ㄣ?br> 鑴氭湰涓殑瀛楃涓茬瓑錛?br> 鍏ㄩ兘浣跨敤榪欎釜緙栫爜銆?br> Vim 鍦ㄥ伐浣滅殑鏃跺欙紝
濡傛灉緙栫爜鏂瑰紡涓庡畠鐨勫唴閮ㄧ紪鐮佷笉涓鑷達紝
瀹冧細鍏堟妸緙栫爜杞崲鎴愬唴閮ㄧ紪鐮併?br> 濡傛灉宸ヤ綔鐢ㄧ殑緙栫爜涓惈鏈夋棤娉曡漿鎹負鍐呴儴緙栫爜鐨勫瓧絎︼紝
鍦ㄨ繖浜涘瓧絎﹀氨浼氫涪澶便?br> 鍥犳錛屽湪閫夋嫨 Vim 鐨勫唴閮ㄧ紪鐮佺殑鏃跺欙紝
涓瀹氳浣跨敤涓縐嶈〃鐜拌兘鍔涜凍澶熷己鐨勭紪鐮侊紝
浠ュ厤褰卞搷姝e父宸ヤ綔銆?br>
鐢變簬 ''encoding'' 閫夐」娑夊強鍒?Vim 涓墍鏈夊瓧絎︾殑鍐呴儴琛ㄧず錛?br> 鍥犳鍙兘鍦?Vim 鍚姩鐨勬椂鍊欒緗竴嬈°?br> 鍦?Vim 宸ヤ綔榪囩▼涓慨鏀?''encoding'' 浼氶犳垚闈炲父澶氱殑闂銆?br> 濡傛灉娌℃湁鐗瑰埆鐨勭悊鐢憋紝
璇峰緇堝皢 ''encoding'' 璁劇疆涓?''utf-8''銆?br> 涓轟簡閬垮厤鍦ㄩ潪 UTF-8 鐨勭郴緇熷 Windows 涓嬶紝
鑿滃崟鍜岀郴緇熸彁紺哄嚭鐜頒貢鐮侊紝
鍙悓鏃跺仛榪欏嚑欏硅緗細

#Code syntax=" vim" < < ---
set encoding=utf-8
set langmenu=zh_CN.UTF-8
language message zh_CN.UTF-8
* termencoding

''termencoding'' 鏄?Vim 鐢ㄤ簬灞忓箷鏄劇ず鐨勭紪鐮侊紝
鍦ㄦ樉紺虹殑鏃跺欙紝
Vim 浼氭妸鍐呴儴緙栫爜杞崲涓哄睆騫曠紪鐮侊紝
鍐嶇敤浜庤緭鍑恒?br> 鍐呴儴緙栫爜涓惈鏈夋棤娉曡漿鎹負灞忓箷緙栫爜鐨勫瓧絎︽椂錛?br> 璇ュ瓧絎︿細鍙樻垚闂彿錛?br> 浣嗕笉浼氬獎鍝嶅瀹冪殑緙栬緫鎿嶄綔銆?br> 濡傛灉 ''termencoding'' 娌℃湁璁劇疆錛?br> 鍒欑洿鎺ヤ嬌鐢?''encoding'' 涓嶈繘琛岃漿鎹€?br>
涓句釜渚嬪瓙錛?br> 褰撲綘鍦?Windows 涓嬮氳繃 telnet 鐧誨綍 Linux 宸ヤ綔绔欐椂錛?br> 鐢變簬 Windows 鐨?telnet 鏄?GBK 緙栫爜鐨勶紝
鑰?Linux 涓嬩嬌鐢?UTF-8 緙栫爜錛?br> 浣犲湪 telnet 涓嬬殑 Vim 涓氨浼氫貢鐮併?br> 姝ゆ椂鏈変袱縐嶆秷闄や貢鐮佺殑鏂瑰紡錛?br> 涓鏄妸 Vim 鐨?''encoding'' 鏀逛負 ''gbk''錛?br> 鍙︿竴縐嶆柟娉曟槸淇濇寔 ''encoding'' 涓?''utf-8''錛?br> 鎶?''termencoding'' 鏀逛負 ''gbk''錛?br> 璁?Vim 鍦ㄦ樉紺虹殑鏃跺欒漿鐮併?br> 鏄劇劧錛?br> 浣跨敤鍓嶄竴縐嶆柟娉曟椂錛?br> 濡傛灉閬囧埌緙栬緫鐨勬枃浠朵腑鍚湁 GBK 鏃犳硶琛ㄧず鐨勫瓧絎︽椂錛?br> 榪欎簺瀛楃灝變細涓㈠け銆?br> 浣嗗鏋滀嬌鐢ㄥ悗涓縐嶆柟娉曪紝
铏界劧鐢變簬緇堢鎵闄愶紝
榪欎簺瀛楃鏃犳硶鏄劇ず錛?br> 浣嗗湪緙栬緫榪囩▼涓繖浜涘瓧絎︽槸涓嶄細涓㈠け鐨勩?br>
瀵逛簬鍥懼艦鐣岄潰涓嬬殑 GVim錛?br> 瀹冪殑鏄劇ず涓嶄緷璧?TERM錛?br> 鍥犳 ''termencoding'' 瀵逛簬瀹冩病鏈夋剰涔夈?br> 鍦?GTK2 涓嬬殑 GVim 涓紝
''termencoding'' 姘歌繙鏄?''utf-8''錛?br> 騫朵笖涓嶈兘淇敼銆?br> 鑰?Windows 涓嬬殑 GVim 鍒欏拷鐣?''termencoding'' 鐨勫瓨鍦ㄣ?br>
* fileencoding

褰?Vim 浠庣鐩樹笂璇誨彇鏂囦歡鐨勬椂鍊欙紝
浼氬鏂囦歡鐨勭紪鐮佽繘琛屾帰嫻嬨?br> 濡傛灉鏂囦歡鐨勭紪鐮佹柟寮忓拰 Vim 鐨勫唴閮ㄧ紪鐮佹柟寮忎笉鍚岋紝
Vim 灝變細瀵圭紪鐮佽繘琛岃漿鎹€?br> 杞崲瀹屾瘯鍚庯紝
Vim 浼氬皢 ''fileencoding'' 閫夐」璁劇疆涓烘枃浠剁殑緙栫爜銆?br> 褰?Vim 瀛樼洏鐨勬椂鍊欙紝
濡傛灉 ''encoding'' 鍜?''fileencoding'' 涓嶄竴鏍鳳紝
Vim 灝變細榪涜緙栫爜杞崲銆?br> 鍥犳錛?br> 閫氳繃鎵撳紑鏂囦歡鍚庤緗?''fileencoding''錛?br> 鎴戜滑鍙互灝嗘枃浠剁敱涓縐嶇紪鐮佽漿鎹負鍙︿竴縐嶇紪鐮併?br> 浣嗘槸錛?br> 鐢卞墠闈㈢殑浠嬬粛鍙互鐪嬪嚭錛?br> ''fileencoding'' 鏄湪鎵撳紑鏂囦歡鐨勬椂鍊欙紝
鐢?Vim 榪涜鎺㈡祴鍚庤嚜鍔ㄨ緗殑銆?br> 鍥犳錛?br> 濡傛灉鍑虹幇涔辯爜錛?br> 鎴戜滑鏃犳硶閫氳繃鍦ㄦ墦寮鏂囦歡鍚庨噸鏂拌緗?''fileencoding'' 鏉ョ籂姝d貢鐮併?br>
* fileencodings

緙栫爜鐨勮嚜鍔ㄨ瘑鍒槸閫氳繃璁劇疆 fileencodings 瀹炵幇鐨勶紝
娉ㄦ剰鏄鏁板艦寮忋?br> fileencodings 鏄竴涓敤閫楀彿鍒嗛殧鐨勫垪琛紝
鍒楄〃涓殑姣忎竴欏規槸涓縐嶇紪鐮佺殑鍚嶇О銆?br> 褰撴垜浠墦寮鏂囦歡鐨勬椂鍊欙紝
VIM 鎸夐『搴忎嬌鐢?fileencodings 涓殑緙栫爜榪涜灝濊瘯瑙g爜錛?br> 濡傛灉鎴愬姛鐨勮瘽錛?br> 灝變嬌鐢ㄨ緙栫爜鏂瑰紡榪涜瑙g爜錛?br> 騫跺皢 ''fileencoding'' 璁劇疆涓鴻繖涓鹼紝
濡傛灉澶辮觸鐨勮瘽錛?br> 灝辯戶緇瘯楠屼笅涓涓紪鐮併?br>
鍥犳錛?br> 鎴戜滑鍦ㄨ緗?''fileencodings'' 鐨勬椂鍊欙紝
涓瀹氳鎶婅姹備弗鏍肩殑銆?br> 褰撴枃浠朵笉鏄繖涓紪鐮佺殑鏃跺欐洿瀹規槗鍑虹幇瑙g爜澶辮觸鐨勭紪鐮佹柟寮忔斁鍦ㄥ墠闈紝
鎶婂鏉劇殑緙栫爜鏂瑰紡鏀懼湪鍚庨潰銆?br>
渚嬪錛?br> latin1 鏄竴縐嶉潪甯稿鏉劇殑緙栫爜鏂瑰紡錛?br> 浠諱綍涓縐嶇紪鐮佹柟寮忓緱鍒扮殑鏂囨湰錛?br> 鐢?latin1 榪涜瑙g爜錛?br> 閮戒笉浼氬彂鐢熻В鐮佸け璐?br> --
褰撶劧錛?br> 瑙g爜寰楀埌鐨勭粨鏋滆嚜鐒朵篃灝辨槸鐞嗘墍褰撶劧鐨?#8220;涔辯爜”銆?br> 鍥犳錛?br> 濡傛灉浣犳妸 ''latin1'' 鏀懼埌浜?''fileencodings'' 鐨勭涓浣嶇殑璇濓紝
鎵撳紑浠諱綍涓枃鏂囦歡閮芥槸涔辯爜涔熷氨鏄悊鎵褰撶劧鐨勪簡銆?br>
浠ヤ笅鏄粐鐙愭帹鑽愮殑涓涓?''fileencodings'' 璁劇疆錛?br>
#Code syntax=" vim" < < ---
set fileencodings=ucs-bom,utf-8,cp936,gb18030,big5,euc-jp,euc-kr,latin1
---

鍏朵腑錛?br> ucs-bom 鏄竴縐嶉潪甯鎬弗鏍肩殑緙栫爜錛?br> 闈炶緙栫爜鐨勬枃浠跺嚑涔庢病鏈夊彲鑳借璇垽涓?ucs-bom錛?br> 鍥犳鏀懼湪絎竴浣嶃?br>
utf-8 涔熺浉褰撲弗鏍鹼紝
闄や簡寰堢煭鐨勬枃浠跺
(渚嬪璁稿浜烘觸媧ヤ箰閬撶殑 GBK 緙栫爜鐨?#8220;鑱旈?#8221;琚鍒や負 UTF-8 緙栫爜鐨勭粡鍏擱敊璇?錛?br> 鐜板疄鐢熸椿涓竴鑸枃浠舵槸鍑犱箮涓嶅彲鑳借璇垽鐨勶紝
鍥犳鏀懼湪絎簩浣嶃?br>
鎺ヤ笅鏉ユ槸 cp936 鍜?gb18030錛?br> 榪欎袱縐嶇紪鐮佺浉瀵瑰鏉撅紝
濡傛灉鏀懼墠闈㈢殑璇濓紝
浼氬嚭鐜板ぇ閲忚鍒わ紝
鎵浠ュ氨璁╁畠浠潬鍚庝竴浜涖?br> cp936 鐨勭紪鐮佺┖闂存瘮 gb18030 灝忥紝
鎵浠ユ妸 cp936 鏀懼湪 gb18030 鍓嶉潰銆?br>
鑷充簬 big5銆乪uc-jp 鍜?euc-kr錛?br> 瀹冧滑鐨勪弗鏍肩▼搴﹀拰 cp936 宸笉澶氾紝
鎶婂畠浠斁鍦ㄥ悗闈紝
鍦ㄧ紪杈戣繖浜涚紪鐮佺殑鏂囦歡鐨勬椂鍊欏繀鐒跺嚭鐜板ぇ閲忚鍒わ紝
浣嗚繖鏄?Vim 鍐呯疆緙栫爜鎺㈡祴鏈哄埗娌℃湁鍔炴硶瑙e喅鐨勪簨銆?br> 鐢變簬涓浗鐢ㄦ埛寰堝皯鏈夋満浼氱紪杈戣繖浜涚紪鐮佺殑鏂囦歡錛?br> 鍥犳鎴戜滑榪樻槸鍐沖畾鎶?cp936 鍜?gb18030 鍓嶆彁浠ヤ繚璇佽繖浜涚紪鐮佺殑璇嗗埆銆?br>
鏈鍚庡氨鏄?latin1 浜嗐?br> 瀹冩槸涓縐嶆瀬鍏跺鏉劇殑緙栫爜錛?br> 浠ヨ嚦浜庢垜浠笉寰椾笉鎶婂畠鏀懼湪鏈鍚庝竴浣嶃?br> 涓嶈繃鍙儨鐨勬槸錛?br> 褰撲綘紕板埌涓涓湡鐨?latin1 緙栫爜鐨勬枃浠舵椂錛?br> 緇濆ぇ閮ㄥ垎鎯呭喌涓嬶紝
瀹冩病鏈夋満浼?fall-back 鍒?latin1錛?br> 寰寰鍦ㄥ墠闈㈢殑緙栫爜涓氨琚鍒や簡銆?br> 涓嶈繃錛?br> 姝e鍓嶉潰鎵璇寸殑錛?br> 涓浗鐢ㄦ埛娌℃湁澶鏈轟細鎺ヨЕ榪欐牱鐨勬枃浠躲?br>
濡傛灉緙栫爜琚鍒や簡錛?br> 瑙g爜鍚庣殑緇撴灉灝辨棤娉曡浜虹被璇嗗埆錛?br> 浜庢槸鎴戜滑灝辮錛?br> 榪欎釜鏂囦歡涔辯爜浜嗐?br> 姝ゆ椂錛?br> 濡傛灉浣犵煡閬撹繖涓枃浠剁殑姝g‘緙栫爜鐨勮瘽錛?br> 鍙互鎶?''fileencodings'' 鏀規垚鍙湁榪欎竴縐嶇紪鐮侊紝
闃繪浠諱綍 fall-back 鍙戠敓錛?br> 鐒跺悗閲嶆柊鎵撳紑榪欎釜鏂囦歡銆?br>
* fencview

鏍規嵁鍓嶉潰鐨勪粙緇嶏紝
鎴戜滑鐭ラ亾錛?br> 閫氳繃 Vim 鍐呯疆鐨勭紪鐮佽瘑鍒満鍒訛紝
璇嗗埆鐜囨槸寰堜綆鐨勶紝
灝ゅ叾鏄浜庣畝浣撲腑鏂?(GBK/GB18030)銆?br> 綣佷綋涓枃 (Big5)銆?br> 鏃ユ枃 (euc-jp)
鍜岄煩鏂?(euc-kr) 涔嬮棿鐨勮瘑鍒?br> 鑰屽浜庢櫘閫氱敤鎴瘋岃█錛?br> 鑲夌溂鐪嬪嚭涓涓枃浠剁殑緙栫爜鏂瑰紡涔熸槸寰堜笉鐜板疄鐨勪簨鎯呫?br> 鍥犳錛?br> 婊囩嫄寮虹儓鎺ㄨ崘姘存湪紺懼尯鐨?mbbill 寮鍙戠殑 fencview 鎻掍歡銆?br> 璇ユ彃浠朵嬌鐢ㄨ瘝棰戠粺璁$殑鏂瑰紡璇嗗埆緙栫爜錛?br> 姝g‘鐜囬潪甯擱珮銆?


]]>
久久99精品久久久久久不卡| 韩国三级大全久久网站| 久久婷婷是五月综合色狠狠| 国产精品一区二区久久精品涩爱 | 国产精品99久久久精品无码 | 久久久久人妻一区精品果冻| 亚洲精品国产第一综合99久久| 少妇精品久久久一区二区三区| 91精品国产综合久久香蕉 | 久久中文字幕视频、最近更新| 五月丁香综合激情六月久久| 久久精品国产亚洲Aⅴ香蕉| 色88久久久久高潮综合影院| 国产高清美女一级a毛片久久w| 伊人色综合久久天天人手人婷 | 精品国产91久久久久久久a| 色综合久久综合中文综合网| 久久人人爽人人精品视频| 久久91综合国产91久久精品| 久久人人爽人人爽人人片AV不| 国产福利电影一区二区三区,免费久久久久久久精 | 久久精品无码专区免费青青| 日韩久久久久中文字幕人妻| 久久久久人妻一区二区三区vr | 久久人人爽人人爽人人av东京热| 国产L精品国产亚洲区久久| 久久久久免费看成人影片| 欧美日韩精品久久免费| 色婷婷久久久SWAG精品| 久久久精品人妻无码专区不卡| 久久91精品国产91久久小草| 99久久久国产精品免费无卡顿| 亚洲精品美女久久久久99| 亚洲中文字幕久久精品无码喷水| 香蕉99久久国产综合精品宅男自 | 久久电影网2021| 日本一区精品久久久久影院| 国产精品久久国产精麻豆99网站| 国产午夜精品久久久久免费视| 麻豆亚洲AV永久无码精品久久| 久久精品国产亚洲AV麻豆网站|