Pass -utf8 to tidy.

* lisp/textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
This commit is contained in:
Sam Steingold 2014-11-26 14:38:35 -05:00
parent 28653a727e
commit 41a1fd3638
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2014-11-26 Sam Steingold <sds@gnu.org>
* textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy.
2014-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww-highest-readability): More dom.el fixes.

View file

@ -245,7 +245,7 @@ Currently, only Latin-1 characters are supported.")
;; which makes it next to useless
(cond ((executable-find "tidy")
;; tidy is available from http://tidy.sourceforge.net/
"tidy --gnu-emacs yes -e -q")
"tidy --gnu-emacs yes -utf8 -e -q")
((executable-find "nsgmls")
;; nsgmls is a free SGML parser in the SP suite available from
;; ftp.jclark.com, replaced old `sgmls'.