]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
muttrc, procmairc and vimrc are in koi8
authorOleg Broytman <phd@phdru.name>
Wed, 16 Jan 2013 18:17:32 +0000 (18:17 +0000)
committerOleg Broytman <phd@phdru.name>
Wed, 16 Jan 2013 18:17:32 +0000 (18:17 +0000)
git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@144 7bb0bf08-9e0d-0410-b083-99cee3bf18b8

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)