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.

You can't put anything other than plain, 7-bit ASCII in source code. You are even more restricted in URLs.
A URL should live in a resource and it any high-order bytes should be encoded somehow.

Similar Messages

  • Latest Update of Adobe Reader in Foreign Language

    I have found this strange, but after updating to the latest version of Adobe Reader Plugin, under Safari it is showing the "loading" dialogue in Chinese characters instead of English.  This started to happen after I ran the last update.  I don't speak Chinese and don't use the language pack so I am puzzled on how this change came about.
    I am reporting this because I wanted to make sure 1) it was not a hack that spoofed the update and 2) if it is OK, it's a bug in the installer.  Why did it happen and how do I fix it?
    -R

    I am running:
    OSX 10.8.5
    AR 11.0.07
    Here's a screen shot:

  • Email body in foreign language??

    I have 2 e-mail addresses directed to my Blackberry.  Some of the e-mails, not all, from one of the addresses (it's an att.net address) are coming through in a foreign language.  Not on my desktop, only on the Blackberry.  The Subjet Line is fine, the from address and to address are fine (english), but the body of the e-mail is either a foreign language or gobbledeygook (can't tell which, though they appear to be mostly possible German words???)
    Maddening.  Have deleted that address and set it up as new, annd the same things happens.

    Hi!
    I think this is possible if you are using a Unicode system. In non-unicode systems (4.6C or below), you might have to login to the system in taiwanese and hard code the text.
    Cheers!

  • After updating to IOS7 I changed my passcode to one in a foreign language, but I accidentally deleted the keyboard that the language uses and now I can't acess my Ipod becuase I I can't type in my passcode at all. What do I do?

    I changed my iPod's pass code to one that is in a foreign language, but I deleted the keyboard before I turned it off, and now I can't acess my Ipod because the keyboard option for that particular language is gone. What Do I Do?

    Forgotten Screen-Lock Passcode
    Connect the iOS device to your computer and try to make a backup
    iOS: How to back up
    Then restore via iTunes. The iPod will be erased. Place the iOS device in Recovery Mode if necessary to allow the restore.
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up    
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store    

  • Why the Unavailability of Foreign Language Keyboards in the US?

    I am a foreign language student (Russian), and am trying to buy a foreign language apple keyboard (preferably wireless) in the states. I know they are available in Europe (my stepdaughter confirms she can get one thriugh her apple store), yet when I try to do the same here, they deny they even exist!! (This is the case even on the online store!!!)
    I tried to order one from one of the European Stores online (actually, more than one) and it won't let me complete the order, even if I make payment in the local currency (pounds, euros, francs, rubles, or what have you).
    This is a frustrating (and in my opinion, fairly serious) problem, and I am sure I am not the only one who is going through this fiasco. I certainly don't want to pay 5x the price via a "smuggler", I would rather get peripherials FOR my apple FROM apple.
    So Apple, what gives? There's a market for these products here, my MacBook Pro WILL support this product... So why won't you let me buy one (or even admit to me you even have such a thing, when those overseas have free access to them)?
    Message was edited by: TheRoadhouse

    TheRoadhouse wrote:
    I am a foreign language student (Russian), and am trying to buy a foreign language apple keyboard (preferably wireless) in the states. I know they are available in Europe (my stepdaughter confirms she can get one thriugh her apple store), yet when I try to do the same here, they deny they even exist!! (This is the case even on the online store!!!)
    I tried to order one from one of the European Stores online (actually, more than one) and it won't let me complete the order, even if I make payment in the local currency (pounds, euros, francs, rubles, or what have you).
    This is a frustrating (and in my opinion, fairly serious) problem, and I am sure I am not the only one who is going through this fiasco. I certainly don't want to pay 5x the price via a "smuggler", I would rather get peripherials FOR my apple FROM apple.
    So Apple, what gives? There's a market for these products here, my MacBook Pro WILL support this product... So why won't you let me buy one (or even admit to me you even have such a thing, when those overseas have free access to them)?
    Message was edited by: TheRoadhouse
    I do not want to get on your case, but Apple is a business, one that tries to make a profit. Carrying items in inventory that serve a tiny number of individuals in the US actually costs them money. But they'd also have to carry inventory in every single foreign language keyboard, and the costs become huge.
    Moreover, and with all due respect, if you're here in the US studying, you really need a US English keyboard. And as the other poster said, you have access to the Russian character map for keys, so if you have to write home, you can write in Russian, and you'll be happy.
    By the way, all of us here are users like you. Getting annoyed hardly ever gets you help. If you want to complain to Apple go here.

  • (1) My iBooks Author help resources are in a foreign language. How do I change it to English? (2) Is there an iBooks Author pdf manual I can download?

    (1) My iBooks Author help resources are in a foreign language. How do I change it to English? (2) Is there an iBooks Author pdf manual I can download?

    There is no PDF available. I sent a link  to a page full of links and info not much different from the help files.
    There are many Free books in the iBooks store which will take you through the basics of iBA.
    I  like "Create your first Interactive book using iBooks Author"   its created by iBook-Widgets.com - who also  supply widgets at a price.. but the book is very free and very good.. search the iBooks store for their title.
    You cannot use iBA on an iPad, however, I also use the iPad app --  "Book Creater"   ( redjumper.net ) its very low priced around $3 or so. The people who  create it are helpful and friendly. You can distribut your books to friends and family  using  Dropbox or other cloud storage. If you want to creaet an ePub file and then upload to the iBooks store, its not difficult.  You create the book on your iPad. It is no where near as good as iBA for functionality.. but it spossible to  make really good eBooks.
    I think Applecare shoud come into effect with the language problems if it can be  found to be a glitch on the computer.  Applecare is product based and does not apply to software.
    Take it stage by stage,   visit your Apple store and   ask if they can solve the help files in langauges first, then  react to the answer, it could be they can solve the issue which leave you a clear path with iBA.
    Also you can  gather more indormation about how to use it with the help files.
    Try the info I have  included and   see how it develpops... any problems get back here and we can look for alternatives.
    try this... https://itunes.apple.com/app/id661166101?mt=8&&referrer=click%3Da63089e4-e3d4-49 e9-896a-58e0cfd50acf
    its the free version... if you like upgrade later.
    Happy New Year... hope its a good one....

  • Maps search nearby in foreign language

    last night, i just updated my e90 and my girlfriend's n95 maps application as soon as i found out that have a new update. turns out to be more problems than a blessing.
    first of all, all my previously downloaded maps have to be deleted and redownloaded again with the new maps loader. the new menus in maps have been swapped around that it tooks some time getting used to. then we found a bug beta testers definitely missed.
    if my maps setting have set never use network, these menus are working fine:
    find place >> nearby
    or
    use this place >> search nearby
    but as soon as i turn use network back to when needed, these menus appear in a foreign language what looks to be german. hey com'on i don't read german. this happens exactly identically for both my e90 and my gf's n95. so its not phone specific problem, and it happened to other e90 users in forums. i also know this is not phone region problem bcoz my product code is singapore, and my gf's n95 is hk. so if it was region specific language should it show up in chinese instead? so **bleep**?! i used to love using map to search stuff, now i don't even feel like touching it until it is fixed assuming it will ever be fixed

    I can confirm that. Nokia screwed that. They are in German indeed. This update should not be released.Message Edited by simcard on 15-Sep-200706:46 PM

  • Poor keyboard when used in foreign languages using accented characters

    I'm looking for a replacement to the built-in virtual keyboard of the iPad (same thing for the iPod or the iPhone). This keyboard is fun to use in english but carry lot of problems for someone who want to write in foreign languages, where accented characters are used. Those characters are available, but in such way that they are unusable for someone who need to do serious work, let say in french, german or spanish.
    I can't find an App that do this job. Is there one?
    (By the way, the best will be that Apple offer this choice in the next iOS...)
    Thanks

    Sorry, there will be no immediate or short-term fixes through an app.
    Those who need or want to do "... serious work..." on the iPad, by which I guess you must mean a lot of typing, need to get a keyboard to do it with, the current choice being between the Keyboard/Dock and a selection of wireless BT models. I'm going to assume that using one of those will give you as close to the functionality of a 'normal' setup as you're likely see on the iPad.
    As for some fix in a future iOS release, you should first think out exactly how you would like them to fix this issue, describe it in some detail, and then forward it along to Apple via their established
    FEEDBACK FORM — http://www.apple.com/feedback/ipad.html

  • Why does 'Guest User' appear in a foreign language when logged in as guest?

    Why does 'Guest User' appear in a foreign language when logged in as guest? It's not a major problem but it would be nice to be able to fix it, and to understand how it happened.
    Everything else is in English (or set to English) as far as I can see, and my Macbook is only a couple of weeks old. All system updates have been performed and permissions have been repaired.
    It displays it in Finnish (Suomi) as 'Vierastilin käyttäjä' only when logged in, in the System Preferencess user list and apple menu (where you would normally select 'Log Out Guest User'). I cant find anyone else with the same problem online. I am in the UK, purchased the Macbook on the UK Apple Store online, and I have never been to Finland or selected anything to do with Finland or its language. Everything else is in English.
    I should add that 'Vierastilin' showed up instead of 'Guest User' on the OSX login screen on the first day I had the Macbook, but this seemed to fix itself somehow soon after.
    A couple of photos to illustrate the problem that still exists are attached.

    Thanks for the reply. I only have English - Primary but I guess I could add Finland and then delete it...
    Okay, tried that, lots of variations including deleting all other languages and only using Finnish, and then using only British English etc - when guest is in Finnish the whole lot becomes Finnish/Suomi (see attached photos to compare with the ones above) - then when you delete Finnish and go back to English, everything is Englisg apart from 'Vierastilin käyttäjä' as above.
    Any other ideas where it stores that info - is there a dodgy preference file somewhere which needs zapping?

  • Unwanted foreign language that won't go away!!!

    Hey
    I recently had to reformat my hard drive and rebuild all the software on my laptop. Upon reinstalling itunes I notice that all the playlist titles are in a foreign language that I dont recognise.
    Also in th preferences my library is entitled *Käyttäjän David kirjasto*
    I uninstalled itunes and reinstalled and it is exactly the same. I'm at a bit of a loss. Does anyone have any ideas why this is and how to get rid of it?

    Hey there,
    Have you tried this?
    To change your language settings on a Windows PC:
    Open iTunes.
    From the Edit menu, choose Preferences.
    Select the General tab.
    On the Language pop-up menu (in the lower section of the window), choose your desired language.
    Click OK.
    Quit and reopen iTunes.
    More information can be found through the link below. Hope this helps\
    http://support.apple.com/kb/HT2242?viewlocale=en_US
    B-rock

  • Captivate 5 English-to-Foreign-Language Font Errors

    I am working with a large client who has experienced translation errors in Captivate 4 transfers to Captivate 5. The font they've used didn't translate into Chinese, and when the course was updating to Cap 5, everything basically broke.
    My inquiry is about which Captivate fonts can translate into the top 15 foreign languages most widely used in BOTH Captivate 4 and Cap 5? Has anyone done any research into this area? Does anyone knows which fonts DO and DON'T translate fully given all the necessary symbols and characters in both versions?
    Thanks for your help!
    Steve

    Hi Steve,
    Welcome to captivate forum.
    I did not get the scenario exactly.
    Are you facing the issues with the text caption font, when captivate 4 project created in english version tried to open in captivate 5 chinese version?
    Is it with the font type or caption text?
    Regards,
    Vikranth.

  • I added a foreign language in setup. How do I bring out its keyboard?

    I added a foreign language in setup. How do I bring out its keyboard?

    After selecting your keyboards, a globe symbol key will appear on your keyboards.
    Tap it to cycle through the keyboards you have enabled.

  • Trouble updating MySQL to newer version

    I'm trying to update MySQL from the factory installed 5.0.82 to a more recent 5.1.40.
    Factory installed into /usr/bin
    The new version is in /usr/local/mysql
    I'd like to have the new version of MySQL access (or use) the old data file... but it's not easy for me to tell where this datadir variable is being set for both the old & new MySQLs.
    Server Admin has tools to monitor and lightly configure the factory installation. Is there a way to tell it to now monitor the newer version? Or, somehow tie it to the newer version? Or must we just remove the MySQL Service from Server Admin completely?

    First off, are you referring to MySQL server or client?
    but it's not easy for me to tell where this datadir variable is being set for both the old & new MySQLs.
    By default (unless you've compiled your own MySQL with different settings), MySQL will read its settings from /etc/my.cnf, so wherever that file tells it to store its databases is where it's going to go.
    This does mean that if you update the mysqld (server) binary then it's going to look for the same databases, with whatever potential issues that may bring.
    Server Admin has tools to monitor and lightly configure the factory installation. Is there a way to tell it to now monitor the newer version?
    Stopping/starting MySQL is done through launchd - Server Admin will update /System/Library/LaunchDaemons/org.mysql.mysqld.plist to reflect whether it should start the daemon or not. That file includes the path to the binary that launchd will launch. If you change that to your own binary then LaunchD/Server Admin should start/stop your version rather than Apple's.
    Beware, though, that this may not carry through for other Server Admin tasks beyond stopping/starting the server, and that this file may get overwritten/updated by a future software update, so be prepared to make those changes again, or decouple yourself completely from Server Admin and just use your own skills to administer the server.

  • Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?

    Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?

    Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there.

  • Keynote Spanish Spell Check - Keynote Foreign Language Spell Check

    After a fruitless search online and in Keynote Help (and just when I was on the verge of upgrading MS Office) I did learn how to spell check in foreign languages in Keynote. This works through the following Keynote menu selections:
    Edit/Spelling/Spelling then click the tab at the bottom of the window to select your spell check language.
    Thanks to Sara at Apple Tech Support!

    Keynote does Spell Check in foreign languages!

Maybe you are looking for