Re: URL friendly NSString?
Re: URL friendly NSString?
- Subject: Re: URL friendly NSString?
- From: Rosyna <email@hidden>
- Date: Sat, 1 Jun 2002 16:47:27 -0700
And based on it:
myString=(NSString*)CFURLCreateStringByAddingPercentEscapes(NULL,
(CFStringRef) [MyTextView string], NULL, NULL, kCFStringEncodingUTF8);
I'd suggest:
myString=[(NSString*)CFURLCreateStringByAddingPercentEscapes(NULL,
(CFStringRef) [MyTextView string], NULL, NULL, kCFStringEncodingUTF8)
autorelease];
Because the CFStringRef returned is not auto released.
Ack, at 6/1/02, Sherm Pendley said:
On Saturday, June 1, 2002, at 12:45 PM, Thilo Ettelt wrote:
Hi! Is there a possibilty to converted a string into an URL
friendly string? So " " would be converted into " " etc.
Check the list archives. This question was asked (and answered) less
than two days ago.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
---
Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.