tags:

views:

40

answers:

1

is there any preg or str_replace that can help me remove characters from a string that are not supported on sms in phones. Now accented characters are shown as yy in sms.

+3  A: 

You probably want to transliterate those chars.

This will convert an accented ñ to a plain n.

Here is useful further reading on Stack Overflow.

alex
i used iconv but it removes normal string after the asccented chars as well :-(
Ashwin