After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 153954 - Auto changing local dir doesn't work with Russian path
Auto changing local dir doesn't work with Russian path
Status: RESOLVED DUPLICATE of bug 156371
Product: gftp
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Brian Masney
Brian Masney
Depends on:
Blocks:
 
 
Reported: 2004-09-28 13:54 UTC by Andrey Rahmatullin
Modified: 2006-10-15 18:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (569 bytes, patch)
2004-11-13 17:18 UTC, Andrey Rahmatullin
none Details | Review

Description Andrey Rahmatullin 2004-09-28 13:54:06 UTC
If "Local dir" in bookmark options contains only Latin1 characters, automatic changing local dir to it when selecting bookmark works perfectly. But if it contains Russian characters, directory doesn't change. For example, I set "Local dir" to "/home/wrar/Documents/Папка". Then after selecting this bookmark local sir doesn't change. In log window:
Could not change local directory to /home/wrar/Documents/Папка: No such file or directory
Comment 1 Brian Masney 2004-10-06 01:13:25 UTC
This is fixed in CVS and in http://www.gftp.org/gftp-test.tar.bz2
Comment 2 Andrey Rahmatullin 2004-10-08 15:04:55 UTC
Bug still exists in 2.0.18pre1
Comment 3 Brian Masney 2004-11-02 01:15:28 UTC
Just a few questions:

1) Do you have the remote_charsets option set correctly? If you leave the
remote_charsets option blank, it will default to converting it to your current
locale. You should only have to set it if the remote server's locale is
different than your local machine's locale.

2) If you do have the remote charsets option set properly, then is gftp sending
the directory over in UTF8?

I'm obviously having some problems with character set conversion in gftp. If
anyone can offer me any assistance in this area, I would greatly appreciate it.
Comment 4 Andrey Rahmatullin 2004-11-13 17:18:18 UTC
Created attachment 33734 [details] [review]
Patch

I hope I've fixed this bug. Local directory needs to be converted from utf8 to
system locale before passing it to chdir().
Comment 5 André Klapper 2006-09-29 16:30:41 UTC
reopening as a patch has been attached. brian, please take a look at it. thanks in advance... :-)

andrey, is this still an issue?
Comment 6 Andrey Rahmatullin 2006-09-29 16:44:59 UTC
Yes, it is.
Comment 7 Brian Masney 2006-10-15 18:49:15 UTC

*** This bug has been marked as a duplicate of 156371 ***