On Fri, 14 May 2004 16:17:27 +0400
"Alexander V. Lukyanov" <[EMAIL PROTECTED]> wrote:

AVL> On Fri, May 14, 2004 at 02:17:50PM +0400, Alexander V. Lukyanov wrote:
AVL> > On Fri, May 14, 2004 at 11:29:10AM +0300, Alexei Khlebnikov wrote:
AVL> > > I have a feature request for lftp: file names charset convertion.
AVL> > > Nowadays files with russian names stored on ftp are usually in
AVL> > > cp1251 charset, while common russian linux charset is koi8-r
AVL> > > of even utf-8. It will be nice if these file names can be read on linux.
AVL> > 
AVL> > It is already done in lftp-3.0.x
AVL> 
AVL> That is, you do:
AVL> 
AVL>    set ftp:charset windows-1251
AVL> 
AVL> and lftp will automatically convert file names to local charset.

Thanks, it works also with
set ftp:charset cp1251
This feature is quite cute, thanks for implementing that.
And thanks for such a good program as lftp.

If this variable is set after "ls", you should do "rels" to view file list in
correct charset. This is acceptable though may be improved.

Reply via email to