Subject: Re: bug#16225: eww: machinery to set character encoding

From: Ivan Shmakov <[email-masked]>
Date: Sun, 23 Nov 2014 18:24:53 +0000

>>>>> Kenjiro Nakayama <[email-masked]> writes:

 > @@ -1307,6 +1314,16 @@ Differences in #targets are ignored."
 >  	(setq count (1+ count)))
 >        (expand-file-name file directory)))

 > +(defun eww-set-character-encoding (encode)
 > +  "Set character encoding."
 > +  (interactive "sSet Character Encoding (default utf-8): ")

	Could this please be changed to use read-coding-system, just
	like the rest of Emacs (say, universal-coding-system-argument)?

	TIA.

 > +  (cond ((zerop (length encode))
 > +	(eww-reload 'utf-8))
 > +       (t
 > +	(if (not (coding-system-p (intern encode)))
 > +	    (user-error "Invalid encodeing type.")
 > +	  (eww-reload (intern encode))))))
 > +
 >  ;;; Bookmarks code

 >  (defvar eww-bookmarks nil)

-- 
FSF associate member #7257  http://boycottsystemd.org/  … 3013 B6A0 230E 334A