[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[gftp] Problem with viewing/editing files with non-ascii names
- To: gftp-users <gftp-users@xxxxxxxx>
- Subject: [gftp] Problem with viewing/editing files with non-ascii names
- From: Alexander Orlov <alxorlov@xxxxxxxxx>
- Date: Sun, 25 Mar 2007 00:03:28 +0300
- Delivered-to: archiver@seul.org
- Delivered-to: gftp-users-outgoing@seul.org
- Delivered-to: gftp-users@seul.org
- Delivery-date: Sat, 24 Mar 2007 17:04:00 -0400
- Reply-to: gftp-users@xxxxxxxx
- Sender: owner-gftp-users@xxxxxxxx
Hello!
There is a problem in gFTP with viewing or editing local files with non-ascii
names. When I try to view such file, gFTP says, that this file does not exist.
This happens in function view_file() from view-dialog.c file. When it tryes to
open file, the "char * filename" is in UTF-8, but it should be in current
filesystem locale.
I made a patch, that fixes that behaviour. Please, commit it to repository.
--
Alexander Orlov
Attachment:
gftp.patch-3
Description: Binary data