Xcode updating MySQL through phpScript in foreign languages

I've a code in xcode which runs a web link to execute phpScripts.


================================================================================ ====

NSString*strURL =[NSString stringWithFormat:@"http://www.???.com/1.php?customerid=你好"];// to execute php codeNSData*dataURL =[NSData dataWithContentsOfURL:[NSURL URLWithString:strURL]];// to receive the returend valueNSString*strResult =[[NSString alloc] initWithData:dataURL encoding:NSUTF8StringEncoding];

================================================================================ ====



The problem with this is, when I try to input a foreign language as the variable 'customerid', the script will not be executed. Only English will be understood and executed, every other languages with foreign characters will not be executed.

Please advise.

iPhone 4

Posted on Dec 30, 2012 1:54 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode updating MySQL through phpScript in foreign languages

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.