GNU bug report logs -
#16225
24.3.50; [PATCH] eww: machinery to set character encoding.
Previous Next
Reported by: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>
Date: Mon, 23 Dec 2013 15:39:03 UTC
Severity: normal
Tags: fixed, patch
Found in version 24.3.50
Fixed in version 25.1
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>>>>> Kenjiro Nakayama <nakayamakenjiro <at> gmail.com> 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
This bug report was last modified 10 years and 183 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.