A netizen said that by adding accept-charset= "gb2312" and onsubmit= "document.charset= ' gb2312" to form forms, I did not solve my problem, my source code is this:
After doing this, ie search is still not successful,
After that, you can:
<form method="Get"target="_blank"Id="Searchform"Name="Searchform"accept-charset="gb2312"onsubmit="document.charset= ' gb2312 ';"> <input type="Hidden"Value="1"Name="Searchtimes"/> <input type="Hidden"Value=" Simple"Name="Kind"/> <input type="Hidden"Name="client_id"Value="Web_search"/> <input type="Hidden"Value="QX"Name="Suchen_match"/> <input type="Hidden"Name="Suchen_way"Value="Ya"/> <input type="Hidden"Name="Show_type"Value="Wenzi"/> <input type="Hidden"Name="library_id"Value=" All"/> <input type="Hidden"Name="Suchen_type"Value="1"/> <input type="Hidden"Name="RecordType"Value=" All"/> <input type="text" class="Search_input2"Size=" *"Name="Suchen_word"Id="Suchen_word"style="width:300px"/> <input type="Submit"Value="in-School submissions" class="BTN_SEAC"Id="Searchin"/> <input type="Submit"Value="Off- Campus submissions" class="BTN_SEAC"Id="Seachout"/> </form> <script>$ (function () { $("#searchin"). Click (function () {searchform.action="http://10.32.0.10/opac_two/search2/searchout.jsp"; $("#searchform"). CharSet ="gb2312"; $("#searchform"). Submit (); }) $("#seachout"). Click (function () {searchform.action="http://218.107.150.8/opac_two/search2/searchout.jsp"; $("#searchform"). CharSet ="gb2312"; $("#searchform"). Submit (); }) }) </script>
Before changing to this, my colleague asked me to give the text input box name to the hidden field and then the name of the input box to change the name when the input box loses focus is after encoding to the hidden field and then commits
Then I'm going to add
<input name= "Suchen_word" type= "hidden"/>
<input type= "text" class= "Search_input2" size= "" Name= "SW" id= "SW" style= "width:300px"/>
<script> $ (function () { $ ("#sw"). blur (function () { $ ("#suchen_word"). attr ( Value, "encodeURIComponent ($.trim ($ (" #sw "). Val ())))}) </script>
This practice, with the time to re-verify under.
Drop a link: about urlencode, encodeuricomponent
Http://www.blogjava.net/freeman1984/archive/2010/06/07/322965.html
form table only GE method submitted when IE display Chinese parameter garbled