]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - dotfiles2html/dotfiles2html.py
muttrc, procmairc and vimrc are in koi8
[phdru.name/phdru.name.git] / dotfiles2html / dotfiles2html.py
index e79a52a1997bf7d7284dcc36c7e824c909b456df..55934ec46501943b447e9fa4d5bcef4ce496e482 100755 (executable)
@@ -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)