Link to home
Start Free TrialLog in
Avatar of blueshaolin
blueshaolin

asked on

How to send a message including french characters in clickatell's http api ?

Hi, I think some of you have experience working with Clickatell. Today my problem is: when I send a message through their http api using french or spanish characters, they don't show in the phone.

I'm using this -guide-:
http://support.clickatell.com/faq.php?mode=view_entry&kbid=121&kbcat=26

I already tested it with several phones and they all show the same: " a va! mon l ve mi ni a?"
It should be "ça va! mon élève mi niña?" (or something pretty similar)

Thanks for your help!
Avatar of Vimal DM
Vimal DM
Flag of India image

Hai,

Try using the following things on page and in your code

1) UTF 8
2) htmlentities functions
3) Added a parameter to the XML Encode plugin: protect_entities="yes" which will prevent the the plugin from converting '&' to '&' in existing …


And try using the "PHPMAILER" concept for sending mails,which will not send spams and things
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of blueshaolin
blueshaolin

ASKER

It was a great idea, I just modified to suit my needs, thanks!
Great!  Thanks for the points, ~Ray