![](http://imgsrc.baidu.com/forum/w%3D580/sign=24c0e5b98ad4b31cf03c94b3b7d7276f/a22e528b4710b912a6d10804c2fdfc03934522f3.jpg?v=tbs)
繁体
javascript:(function(){var str=document.querySelector('.tb-editor-editarea').innerHTML;var f=[],res='';str=str.replace(/<br.*?>/gi,'<br>');for(var i=0,l=str.length;i<l;++i){if(/[<&]/.test(str[i]) && f[f.length - 1]==='@'){f.pop();}if(/[<@&]/.test(str[i])){f.push(str[i]);}if(f.length===0){res+='&#'+str.charCodeAt(i)+';';}else{res+=str[i];}if(str[i]==='>' && f[f.length - 1]==='<'){f.pop();}else if(str[i]===';' && f[f.length - 1]==='&'){f.pop();}}rich_postor._editor.getHtml=function(){return res;};rich_postor._submit();})();
内容转unicode码再发,可以用来发繁体字、部分和谐内容
javascript:a=function(text){var result="";for(var i=0;i<text.length;i++){result+='&#'+text.charCodeAt(i)+';'};return result};var c=rich_postor._getData();c.content=a('内容');PostHandler.post(rich_postor._option.url,c,function(I){rich_postor.showAddResult(I)},function(I){});
javascript:(function(){var str=document.querySelector('.tb-editor-editarea').innerHTML;var f=[],res='';str=str.replace(/<br.*?>/gi,'<br>');for(var i=0,l=str.length;i<l;++i){if(/[<&]/.test(str[i]) && f[f.length - 1]==='@'){f.pop();}if(/[<@&]/.test(str[i])){f.push(str[i]);}if(f.length===0){res+='&#'+str.charCodeAt(i)+';';}else{res+=str[i];}if(str[i]==='>' && f[f.length - 1]==='<'){f.pop();}else if(str[i]===';' && f[f.length - 1]==='&'){f.pop();}}rich_postor._editor.getHtml=function(){return res;};rich_postor._submit();})();
内容转unicode码再发,可以用来发繁体字、部分和谐内容
javascript:a=function(text){var result="";for(var i=0;i<text.length;i++){result+='&#'+text.charCodeAt(i)+';'};return result};var c=rich_postor._getData();c.content=a('内容');PostHandler.post(rich_postor._option.url,c,function(I){rich_postor.showAddResult(I)},function(I){});
![](http://h.hiphotos.baidu.com/album/s%3D1600/sign=2efed0ef54fbb2fb302b5c147f7a21a4/5243fbf2b2119313c76e270264380cd791238d57.jpg?v=tbs)