Re: Launch Email or Browser
Re: Launch Email or Browser
- Subject: Re: Launch Email or Browser
- From: Douglas Davidson <email@hidden>
- Date: Mon, 20 May 2002 11:04:50 -0700
On Friday, May 17, 2002, at 03:09 PM, John Nairn wrote:
The text in the body, however, needs to have escape sequences for
several characters which can be accomplished with the following code:
myMsg=[[NSMutableString alloc] initWithString:[myProduct theMsg]];
[self replaceString:@":" withString:@":" inString:myMsg];
You should probably use CFURL's functions for dealing with
percent-escapes rather than doing it yourself. See CFURL.h for e.g.
CFURLCreateStringByAddingPercentEscapes().
The length limitation for opening URLs is a known issue with another
portion of the system. I believe it has been discussed on this or the
omni mailing list before. I believe it will be fixed in the next major
release of the system.
Douglas Davidson
_______________________________________________
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.