From: Oleg Broytman Date: Wed, 16 Jan 2013 18:17:32 +0000 (+0000) Subject: muttrc, procmairc and vimrc are in koi8 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f1ffdf9e24ef4543958bc0cf9260071906d95315;p=phdru.name%2Fphdru.name.git muttrc, procmairc and vimrc are in koi8 git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@144 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- 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)