[vlc-devel] [PATCH] [RFC] support FTP UTF-8 names

Filip Roséen filip at atch.se
Thu Aug 11 16:20:56 CEST 2016



On 16/08/11 16:18, Steve Lhomme wrote:

> WIth the FEAT command it should reply UTF-8
> https://filezilla-project.org/specs/rfc2640.txt
> 
> More info https://wiki.filezilla-project.org/Character_Encoding

JFTR; this is already being done inside the module, see
`ftp.c:FeaturesCheck`.

But it actually does not matter; the filename should be URL-encoded
in either case (no matter if it is UTF-8 or not).

Imagine a file named `hello#world.media`, without encoding the
filename the hash would inaccurately be treated as a gragment in the
URI.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160811/ebbdbe70/attachment.html>


More information about the vlc-devel mailing list