Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MSoegtropIMC opened this issue Jul 6, 2023 · 0 comments

Comments

@MSoegtropIMC
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant