From 41a1fd3638a62277cd057b598d70b55233340989 Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Wed, 26 Nov 2014 14:38:35 -0500 Subject: [PATCH] Pass -utf8 to tidy. * lisp/textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy. --- lisp/ChangeLog | 4 ++++ lisp/textmodes/sgml-mode.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6a34f023a69..1698eb7631e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-11-26 Sam Steingold + + * textmodes/sgml-mode.el (sgml-validate-command): Pass -utf8 to tidy. + 2014-11-26 Lars Magne Ingebrigtsen * net/eww.el (eww-highest-readability): More dom.el fixes. diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 73b52926c5b..fbcc0ede7aa 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -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'. -- 2.39.5