• 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
Re: Hot to convert an UTF string to an URL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hot to convert an UTF string to an URL?


  • Subject: Re: Hot to convert an UTF string to an URL?
  • From: j o a r <email@hidden>
  • Date: Tue, 5 Feb 2008 17:26:41 -0800


On Feb 5, 2008, at 5:19 PM, Stefan wrote:

I need to convert an arbitrary string into a string something, which I
may append to a base URL, from which I may create an NSURL from.

I still fail to handle diacritical characters like öäüÖÜ and such.

Could someone provide a way to manage this task?


Have a look at "-[NSString stringByAddingPercentEscapesUsingEncoding:]".

j o a r


_______________________________________________

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


References: 
 >Preventing NSTextView sending -setColor: to NSColorPanel? (From: Keith Blount <email@hidden>)
 >Hot to convert an UTF string to an URL? (From: Stefan <email@hidden>)

  • Prev by Date: Hot to convert an UTF string to an URL?
  • Next by Date: Re: Core Data, NSURLProtocol and Threads - A Case of Missing Managed Objects
  • Previous by thread: Hot to convert an UTF string to an URL?
  • Next by thread: Re: Set focus on NSView in an NSMenuItem
  • Index(es):
    • Date
    • Thread