界面输入字符串建议使用这个字符进行转码:
DevCfg.convertChar = function (str) {
return encodeURIComponent(str.replace(/(\\|\"|\n|\r|\t)/g, "\\$1"));
};
界面输入字符串建议使用这个字符进行转码:
DevCfg.convertChar = function (str) {
return encodeURIComponent(str.replace(/(\\|\"|\n|\r|\t)/g, "\\$1"));
};