[dev] [PATCH] [VFS] FTP NLS charset conversion support

Chuck Hagenbuch chuck at horde.org
Sun Sep 4 21:24:18 PDT 2005


Quoting Benoit Branciard <Benoit.Branciard at univ-paris1.fr>:

> It appears that the current FTP VFS driver (VFS/ftp.php) has no 
> support for character set conversion on filenames.
>
> As a quick and dirty hack, the attached patch adds necessary stuff 
> for handling pathnames conversion between Horde (dynamically-seleted) 
> charset and FTP server (fixed) charset.
> This adds a new 'charset' parameter to the VFS_ftp class to hold the 
> character set the FTP server operates (ex: iso8859-1).
>
> This patch applies to horde-3.0.5.tar.gz stable release, as well as 
> framework-FRAMEWORK_3-2005-09-01.tar.gz snapshot (may need to use 
> patch -p2 to strip file path).
> This should work on HEAD snapshot also, except for the header (hunk 
> #1) which sould be manually edited since new parameters have been 
> added.

Please create a bug report on bugs.horde.org describing the issue and 
include a version of the patch that applies cleanly to HEAD. We'll work 
up a cleaner solution as possible. Thanks!

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list