[vlc-devel] [PATCH] gui: Replace all spaces with "%20" in URLs

Faustino Osuna enrique.osuna at gmail.com
Thu Dec 22 09:13:08 CET 2011


So does the Mac.

http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html

Something like this maybe:  [o_mrl_string
 stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

Enrique

On Thu, Dec 22, 2011 at 2:38 AM, mirsal <mirsal at mirsal.fr> wrote:

> Hello,
>
> On Wed, 2011-12-21 at 19:48 +0200, Rémi Denis-Courmont wrote:
> > Le mercredi 21 décembre 2011 19:26:58 Jan Scheers, vous avez écrit :
> > > fix #3435
> >
> > If I see where this is going, you should probably replace all URL-unsafe
> > characters, not just white spaces.
> >
> > It might make sense to write a helper function.
>
> Actually, Qt already has one:
>
>
> http://developer.qt.nokia.com/doc/qt-4.8/qurl.html#id-ca5d3c1c-5962-46a8-b1ba-0883ed782a47
>
> Best regards,
>
> --
> mirsal
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20111222/8a1e0745/attachment.html>


More information about the vlc-devel mailing list