GrammaticalFramework/gf-core

Some example files are still in ISO-8859-1 but GF expects UTF-8 input

MSoegtropIMC opened this issue · 0 comments

Some example files, e.g.

https://github.com/GrammaticalFramework/gf-core/blob/master/gf-book/examples/chapter2/FoodIta.gf

still use ISO-8859-1 (and possibly other encodings). Loading such a file without extra options results in:

Food> import FoodIta.gf
- compiling FoodIta.gf... 

FoodIta.gf:5:49:
   lexical error

Converting the file to UTF-8 fixes this.

The corresponding file in gf-contrib appears to be UTF-8.