On May 12, 2008, at 3:16 PM, Dex Morgan wrote:

Hello,
I've tried to create an NSURL with this URL:
http://forum.scmf.it/index.php?showtopic449&st
However it returns nil.
So I've tried to open it via Safari and the URL become
http://forum.scmf.it/index.php?showtopic%11449&st

%11?
Is there any way to translate these url into the correct way?

You might want to take a look at these methods in the NSString docs:

– stringByAddingPercentEscapesUsingEncoding:

– stringByReplacingPercentEscapesUsingEncoding:

wp

_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to