开发者

remove sms unsupported characters

开发者 https://www.devze.com 2023-01-01 09:22 出处:网络
is there any preg or str_replace that can help me remove characters from a string that are not supported on sms in ph开发者_StackOverflow中文版ones.

is there any preg or str_replace that can help me remove characters from a string that are not supported on sms in ph开发者_StackOverflow中文版ones. Now accented characters are shown as yy in sms.


You probably want to transliterate those chars.

This will convert an accented ñ to a plain n.

Here is useful further reading on Stack Overflow.

0

精彩评论

暂无评论...
验证码 换一张
取 消