IPAD must-haves. And fun-to-haves.

Brighten your iPad with a colorful cover, stream to your TV, download pictures from your digital camera, and more. There’s already so much you can do with iPad and iPad mini

Apple Wireless Keyboard

The incredibly thin Apple Wireless Keyboard uses Bluetooth technology, which makes it compatible with iPad

Apple unveils iPad mini: ‘Thin as a pencil, light as paper’

iPad inspires creativity and hands-on learning with features you won’t find in any other educational tool

Lightning connector and FaceTime HD camera

Apple announces 4th generation iPad packing an A6X CPU

Pages

Showing posts with label foreign. Show all posts
Showing posts with label foreign. Show all posts

Sunday, December 30, 2012

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 code
NSData *dataURL = [NSData dataWithContentsOfURL:[NSURL URLWithString:strURL]];

// to receive the returend value
NSString *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.



View the original article here