--- gluon/languages_orig.py	2009-11-28 12:31:51.000000000 +0000
+++ gluon/languages.py	2009-11-28 12:32:53.000000000 +0000
@@ -48,7 +48,7 @@
 def write_dict(filename, contents):
     fp = open(filename, 'w')
     portalocker.lock(fp, portalocker.LOCK_EX)
-    fp.write('{\n')
+    fp.write('# coding: utf8\n{\n')
     for key in sorted(contents):
         fp.write('%s: %s,\n' % (repr(key), repr(contents[key])))
     fp.write('}\n')
