Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-22-2011, 03:01 AM   #7 (permalink)
iSDK
Indie Developer
 
iSDK's Avatar
 
Join Date: Jul 2010
Posts: 1,346
iSDK is on a distinguished road
Send a message via AIM to iSDK
Default

You need to use the stringByReplacingPercentEscapesUsingEncoding:NSUTF 8StringEncoding function.
Quote:
Originally Posted by tateyaku View Post
In my app, a user clicks a cell to view a detail screen which pulls information from a php page that generates xml. Everything is working great, except for the table cell's values that have spaces in it.

When there is a space, the value is still sent to the detail page, and sent to the php page, but it doesn't show up correctly. When I type the value into the php and use the app to send any information then it works great.

Is there a piece of coding I type in the app to make the submitted value a certain type, like unicode? Or can I type something in the php page that will translate it into normal text? I've been searching for hours, but I just don't know what to search for to find this answer.

Please help!
iSDK is offline   Reply With Quote
 

» Advertisements
» Online Users: 385
14 members and 371 guests
asleylq98, Clouds, DaveDee, erdinc27, eski, gogoman, jacob7khan, lionelnlex, matador1978, networ, Pudding, sacha1996, sirenum, Vijithasri06
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,595
Threads: 94,084
Posts: 402,781
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Vijithasri06
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:29 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.