GrammaticalFramework / gf-core

Grammatical Framework core: compiler, shell & runtimes
https://www.grammaticalframework.org
Other
131 stars 35 forks source link

Always use UTF8 encoding in the gf executable #141

Closed anka-213 closed 2 years ago

anka-213 commented 2 years ago

This fixes many of the "Invalid character" messages you can get on different platforms.

This has helped both with a nix-installation that didn't have global locale set and with a windows installation.

I do not know if there are any situations where this would cause problems, but I have not encountered any so far. Everyone should be using UTF8 by now and GF files should always be UTF8 encoded regardless of your computer's default encoding.