I am using php and getting some utf8 string from Javascript.
I try to remove accent... by using a lot of difference function but still have troubles...
With iconv()
I have wrong accent removing, with some encode() I have nothing...
When I use serialize(mystring)
, my wrong char look like followings:
xE3xA0 with A0 depending of the char.
It there any exhaustive map I can use ? Is there another method ?
(我处于第5.2号,对服务器没有实际控制,因此我无法使用tl/Normalize)
Edit : code like this doesnt works (otherwise it would be ugly but efficient for short term)
$string = mb_ereg_replace( (À|Á|Â|Ã|Ä|Å|à|á|â|ã|ä|å) , a ,$string);