Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gyokushou

macrumors newbie
Original poster
Aug 25, 2008
8
0
Hi all,
I'm working with mailto: url string to send mail out by my application
and it's works fine until I test it with non-English characters,
my app can't open the mail app if there are some non-English characters in my mail body.
does anyone know how to encode the mailto: url string properly?

thank you.

shou
 

kainjow

Moderator emeritus
Jun 15, 2000
7,958
7
Try using stringByAddingPercentEscapesUsingEncoding: with NSUTF8StringEncoding
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.