From e2ecdfed1fea8dcc77ab3c8d83f74fc577908f5b Mon Sep 17 00:00:00 2001 From: "peter.ljunglof" Date: Wed, 29 Aug 2012 21:40:49 +0000 Subject: [PATCH] Emacs only recognizes utf-8, not UTF-8, in file headers --- src/compiler/GF/Compile/PGFtoPython.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/GF/Compile/PGFtoPython.hs b/src/compiler/GF/Compile/PGFtoPython.hs index 00910171b..a4268b714 100644 --- a/src/compiler/GF/Compile/PGFtoPython.hs +++ b/src/compiler/GF/Compile/PGFtoPython.hs @@ -21,7 +21,7 @@ import qualified Data.IntMap as IntMap import Data.List (intersperse) pgf2python :: PGF -> String -pgf2python pgf = ("# -*- coding: UTF-8 -*-" ++++ +pgf2python pgf = ("# -*- coding: utf-8 -*-" ++++ "# This file was automatically generated by GF" +++++ showCId name +++ "=" +++ pyDict 1 pyStr id [