+
95
-

回答

\xc2\xa0是一个叫做Non-breaking space的东西,用于阻止在此处自动换行和阻止多个空格被压缩成一个。解决方法

str=str.replace(/%C2%A0/g,"%20");


网友回复

我知道答案,我要回答