• 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
Problem with escaped string (url)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with escaped string (url)


  • Subject: Problem with escaped string (url)
  • From: Thierry Bucco <email@hidden>
  • Date: Tue, 28 Aug 2001 11:04:26 +0200

Hi,

I need to change a NSString into an escaped string in order to pass it to a web browser.

so I use CFURLCreateStringByAddingPercentEscapes function. It works but not for character like '+' !

here is my code :

escapedString = (NSString *)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)textToEncode, NULL, NULL, kCFStringEncodingISOLatin1);

When I try i with 'c++' the result is c++ but should be : c++

What is the problem ?

Thanks for your help

Thierry


  • Prev by Date: Re: C++
  • Next by Date: Dynamic Services?
  • Previous by thread: Re: C++
  • Next by thread: Re: Problem with escaped string (url)
  • Index(es):
    • Date
    • Thread