如何用javascript实现选择编码
简单的说,就是想用javascript来实现在网页上点右键改变网页编码的功能。
望高手不吝赐教!
------解决方案-------------------- <input name= "button1 " type= "button " value= "UTF-8 " onclick= "document.charset= 'UTF-8 ' ">
<input name= "button1 " type= "button " value= "GB2312 " onclick= "document.charset= 'GB2312 ' ">