在线转换工具https://oktools.net/unicode Unicode转中文 function decodeUnicode(str) { return unescape(str.replace(/\\u/gi, '%u')) } 中文转Unicode function encodeUnicode(str) { let res = []; for (let i = 0; i < str.length; i++) { res[i] = ("00" + str.char…
//岗位详细界面 var str="1.\u000D\u21B52.\u000D\u21B53"; var pad = function() { var tbl = []; return function(num, n) { var len = n-num.toString().length; if (len <= 0) return num; if (!tbl[len]) tbl[len] = (new Array(len+1)).join('0'); return tbl[l…
import java.util.regex.Matcher; import java.util.regex.Pattern; public class UnicodeDecodeDataConverter { private String decodeUnicode( final String dataStr ) { int start = 0; int end = 0; final StringBuffer buffer = new StringBuffer(); while( start…