Package: gftp
Version: 2.0.18-13
Severity: important

Here is my patch:
http://pcman.sayya.org/gftp/gftp-2.0.18-11-pcman.diff.gz

The problem:
When gftp is used under UTF-8 locale, remote filenames cannot be
properly processed.  Though there is "remote charset" in settings, it's
totally broken and useless. Downloaded files will be in remote charset,
not my on-disk encoding, UTF-8, and names of uploaded files will always
be encoded in UTF-8, not remote charset. This cause no problem if gftp
is used under English enviroment; otherwise, all filename-related things
are in a mess. I made a patch for this, which "almost" fixes all these
problems. The patch is tested under zh_TW.UTF-8 locale and zh_TW.Big5
locale, both have no problems. Only one thing should be mentioned, when
this patch is used under non-UTF-8 environment, the environment
G_FILENAME_ENCODING of gtk+ should be set properly. (This is the
requirement of gtk+ 2 itself, not gftp or my patch.)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)

Versions of packages gftp depends on:
ii  gftp-gtk                      2.0.18-13  X/GTK+ FTP client
ii  gftp-text                     2.0.18-13  colored FTP client using GLib

gftp recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to