首页 > 技术文章 > js中替换返回json中的空格为
yibinboy 2015-02-27 13:30 原文
使用。replace(/\s/g, ' ');来替换空格。在IE中 不起作用,可以指定编码将字体设置为:{font-family: Simsun;}