+2007-01-11 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp.el (tramp-handle-file-local-copy): Set
+ `enable-multibyte-characters' to nil. Reported by Chris Moore
+ <christopher.ian.moore@gmail.com>.
+
2007-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
* diff-mode.el (diff-sanity-check-context-hunk-half)
;; 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