When HTML transmits Chinese parameters, there are garbled characters, which cause the correct data to not be received. In JS, you can use encodeURIComponent to encode and decodeURIComponent to decode.
When passing parameters, encode first:
var url="./map1.html?province=" + encodeURIComponent(province); //Encode using encodeURI
When accepting parameters, decode:
if(url.indexOf("province=") > 0){
var sub1=url.substring(url.indexOf("province=")+9);
return decodeURIComponent(sub1)
}