bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail


From: Thierry Volpiatto
Subject: bug#15337: 24.3.50; [PATCH] cd to directory name with french accent fail from term/ansi-term
Date: Fri, 13 Sep 2013 07:21:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> So please see if decoding the result of prog1 with
> decode-coding-string, like you suggested to do in 'cd', but before
> passing it to funcall, fixes the problem.  Something like this:
>
>      (funcall term-command-hook
>               (decode-coding-string
>                 (prog1 (substring str (1+ i) end)
>                    (setq i (match-end 0)))
>                 locale-coding-system))

Yes it is working, or just decoding 'string' in `term-command-hook'
works too.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]