From f1ffdf9e24ef4543958bc0cf9260071906d95315 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 16 Jan 2013 18:17:32 +0000 Subject: [PATCH] muttrc, procmairc and vimrc are in koi8 git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@144 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- dotfiles2html/dotfiles2html.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles2html/dotfiles2html.py b/dotfiles2html/dotfiles2html.py index e79a52a..55934ec 100755 --- a/dotfiles2html/dotfiles2html.py +++ b/dotfiles2html/dotfiles2html.py @@ -29,6 +29,8 @@ def add_headers(fname, first, prev, next, last): txt_name = fname html_file = open(html_fname, 'w') + if fname in ("muttrc", "procmairc", "vimrc"): + html_file.write("#encoding koi8-r\n") html_file.write("#extends phd_site\n") html_file.write("#implements respond\n") html_file.write("#attr $Title = \"%s\"\n" % dot_name) -- 2.39.2