summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2007-01-11 20:08:04 +0000
committerMichael Albinus <michael.albinus@gmx.de>2007-01-11 20:08:04 +0000
commit5065c75f60c6ac87bfa973bae4b041b9e8fc93ca (patch)
treea83021a71e801129e7530508618559bfa4529c96 /lisp/net
parentdf3cfee92fb0fc0bc845dd45511cd0478410af6a (diff)
downloademacs-5065c75f60c6ac87bfa973bae4b041b9e8fc93ca.tar.gz
* net/tramp.el (tramp-handle-file-local-copy): Set
`enable-multibyte-characters' to nil. Reported by Chris Moore <christopher.ian.moore@gmail.com>.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/tramp.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 4d3ee29c4d6..6577a775c96 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -3812,10 +3812,14 @@ This will break if COMMAND prints a newline, followed by the value of
;; Here is where loc-enc and loc-dec used to be let-bound.
(if (and (symbolp loc-dec) (fboundp loc-dec))
- ;; If local decoding is a function, we call it.
+ ;; If local decoding is a function, we call it. We
+ ;; must disable multibyte, because
+ ;; `uudecode-decode-region' doesn't handle it
+ ;; correctly.
(let ((tmpbuf (get-buffer-create " *tramp tmp*")))
(set-buffer tmpbuf)
(erase-buffer)
+ (set-buffer-multibyte nil)
(insert-buffer-substring tramp-buf)
(tramp-message-for-buffer
multi-method method user host