JavaScript中,url链接内的中文变成乱码该如何解决

在一次用JavaScript的test()方法匹配url中是否有我所需的数据时,匹配一直失败,console.

Read more