]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/texi-langutils.py
Hack doc POs generation to allow translating old titles
[lilypond.git] / buildscripts / texi-langutils.py
index ac63f21ba2b49c8465903606021264d257902993..a2d8958f569ccca6d998bb627de609e41f8f987a 100644 (file)
@@ -118,6 +118,7 @@ if node_blurb != '':
 if make_gettext:
        node_list_filename = 'node_list'
        node_list = open (node_list_filename, 'w')
+       node_list.write ('# -*- coding: utf-8 -*-\n')
        for texi_file in texi_files:
                process_texi (texi_file, intro_blurb, node_blurb, make_skeleton, os.path.basename (texi_file), node_list)
        for word in ('Up:', 'Next:', 'Previous:', 'Appendix ', 'Footnotes', 'Table of Contents'):