Commit 43d28928 authored by Christer Ekholm's avatar Christer Ekholm

Set encoding in the generated files (<lang>-help.el) to iso-latin-1

The content currently needs to be latin1 or else the help system
displays strings with åäö badly. The setting is done here so that we
don't depend on the environment when building.
parent 45ffda39
2014-07-13 Christer Ekholm <che@chrekh.se>
* help-compile.el (lyskom-help-compile-to-el): set
buffer-file-coding-system in the generated file to 'iso-latin-1.
The content currently needs to be latin1 or else the help system
displays strings with åäö badly. The setting is done here so that
we don't depend on the environment when building.
* help-swedish.xml: Added xml declaration of encoding used in the
file (ISO-8859-1).
......
......@@ -344,6 +344,7 @@ CONTAINING-SYNTAX is the syntax specification for the containing tag."
(error "Unknown language code `%S'" language-code))
(set-buffer (get-buffer-create "*LysKOM Help Output*"))
(erase-buffer)
(setq buffer-file-coding-system 'iso-latin-1)
(let ((standard-output (current-buffer)))
(print `(defvar ,sym ',result))
(write-file (format "%s-help.el" language)))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment