​​ ​

The AppleCare Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


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

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.