我想替换mysql表中的特殊字符:
例如:ü成为ü
this.model.hasQ1 = false
console.log('type ', typeof this.model.hasQ1) //don't know why typeof is a string
//const test = this.model.hasQ1 === 'true' //this will error out, but shouldn't if the top is typeof is a string
if(this.model.hasQ1){ //this should be false
console.log('hasQ1 ', this.model.hasQ1) //this gets printed anyways
}
//output: hasQ1 false
这个查询对这些查询不起作用,但是可以让M说成为L.
如何使用此类字符?