• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Encoding NSString for URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Encoding NSString for URL


  • Subject: Encoding NSString for URL
  • From: JanakiRam <email@hidden>
  • Date: Wed, 12 Mar 2008 12:26:51 +0530

Hi All,
           I'm new to the encoding stuff in Mac. I've a requirement to  make
a call to CGI Script with some Text File Contents. I'm using NSURLRequest
for making a synchronous call. Now my problem is i'm unable to encode my
string to send it as URL.

         I've used couple of methods ( one from cocoa -
stringByAddingPercentEscapesUsingEncoding and another one from
CoreFoundation CFURLCreateStringByAddingPercentEscapes) , but they are not
encoding special characters such as @#$%&* etc..... .

Can any one provide some pointers on these. Please help me to solve this.
Thanks in Advance.

-JanakiRam.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Encoding NSString for URL
      • From: Jerry Krinock <email@hidden>
    • Re: Encoding NSString for URL
      • From: Jens Alfke <email@hidden>
  • Prev by Date: NSLayoutManager boundingRectForGlyphRange:actualCharacterRange: inconsistent results?
  • Next by Date: What is [NSTextStorage fontSetChanged]?
  • Previous by thread: NSLayoutManager boundingRectForGlyphRange:actualCharacterRange: inconsistent results?
  • Next by thread: Re: Encoding NSString for URL
  • Index(es):
    • Date
    • Thread