• 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
[Newbie] Ampersands in NSURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Newbie] Ampersands in NSURL


  • Subject: [Newbie] Ampersands in NSURL
  • From: Joseph Feld <email@hidden>
  • Date: Sat, 21 Sep 2002 20:58:40 -0400

I'm sure this is a stupid question, but I can't find an answer anywhere else so here goes: I'm trying to do a "mailto:"; URL from my application and I can't get NSURL to accept an ampersand in the addr-specs, even though RFC 2368 and RFC 822 both say that it's allowed. When I take it out and just use a single header in the URL the NSWorkspace fires my mail app just fine. I've tried using the & hex value encoding in the URL, but NSURL still returns nil. Does anyone have any ideas on how I would format a mailto: URL to accept multiple headers?

Thanks,
Joe Feld

Joseph Feld
email@hidden

"You have the right to bear arms and the right to arm bears...whatever the
hell you wanna do."--Robin Williams
_______________________________________________
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.
  • Follow-Ups:
    • Pointer to static object member
      • From: John Scalo <email@hidden>
    • Re: [Newbie] Ampersands in NSURL
      • From: Jeremy Dronfield <email@hidden>
References: 
 >non-trivial Cocoa applescript calls? (From: Byron Ellis <email@hidden>)

  • Prev by Date: Re: Sending a keystroke
  • Next by Date: iTunes feature: OT
  • Previous by thread: non-trivial Cocoa applescript calls?
  • Next by thread: Re: [Newbie] Ampersands in NSURL
  • Index(es):
    • Date
    • Thread