Subject: bug#25203: [cjk] Fwd: HELP with emacs 25.1 and cjk-enc.el

From: Hin-Tak Leung <[email-masked]>
Date: Thu, 15 Dec 2016 23:02:03 +0000 (UTC)

Sorry, should be this (note "locale-coding-system"):

--- a/utils/lisp/emacs/cjk-enc.el
+++ b/utils/lisp/emacs/cjk-enc.el
@@ -879,8 +879,9 @@
         (if (> (- (point) last-pos) 1000)
             (progn
               (setq last-pos (point))
-              (message "Converting: %2d%%"
-                       (/ (* 100 (point)) (point-max)))))
+              (let ((coding-system-for-write locale-coding-system))
+                (message "Converting: %2d%%"
+                         (/ (* 100 (point)) (point-max))))))
 
         ;; Advance to the next character and loop.
         (forward-char 1))

--------------------------------------------
On Thu, 15/12/16, Hin-Tak Leung <[email-masked]> wrote:
 
 Thanks for the advice from Eli Zaretskii
 ( https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25203#11 )