0

I would like to send email address in SMS which contains @ symbol. But after sending SMS its converting to ? symbol. What should do to send special characters like @ in SMS

I have tried sending 0x00 hexadecimal value for @ as a string but its sending as it is 0x00 and not converting it to @ symbol.

Mayank Joshi
  • 97
  • 1
  • 9

1 Answers1

0

try below PHP functions maybe helpful:

1) urlencode("Your Email");
2) utf8_encode("Your Email");

OR

urlencode(utf8_encode("Your Email"));
rawurlencode("Your Email");
Soni Vimalkumar
  • 1,449
  • 15
  • 26