diff options
Diffstat (limited to 'lisp/gnus/uudecode.el')
-rw-r--r-- | lisp/gnus/uudecode.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/gnus/uudecode.el b/lisp/gnus/uudecode.el index 616348e899f..41b8c228d1c 100644 --- a/lisp/gnus/uudecode.el +++ b/lisp/gnus/uudecode.el @@ -1,7 +1,7 @@ ;;; uudecode.el -- elisp native uudecode ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, -;; 2005, 2006 Free Software Foundation, Inc. +;; 2005, 2006, 2007 Free Software Foundation, Inc. ;; Author: Shenghuo Zhu <zsh@cs.rochester.edu> ;; Keywords: uudecode news @@ -205,7 +205,10 @@ If FILE-NAME is non-nil, save the result to FILE-NAME." (insert (apply 'concat (nreverse result))))) (or (markerp end) (setq end (set-marker (make-marker) end))) (goto-char start) - (insert (apply 'concat (nreverse result))) + (if enable-multibyte-characters + (mapc #'(lambda (x) (insert (string-to-multibyte x))) + (nreverse result)) + (insert (apply 'concat (nreverse result)))) (delete-region (point) end)))))) ;;;###autoload |