UTF8 parsed incorrectly for literate agda files #2536
Labels
lexer
literate-agda
platform: windows
Any issue specific to Microsoft Windows
type: bug
Issues and pull requests about actual bugs
Milestone
The following literate agda file (
test.lagda
) gives a parse error, at least on Windows:Error:
This is clearly an encoding issue.
Looking at the agda source code, it seems that non-literate
.agda
files are opened withAgda.Utils.IO.UTF8.readTextFile
(see here), while literate agda files usePrelude.readFile
(see here).Version: Agda version 2.6.0-6ad752f, on windows 7.
Note: the
agda
command line gives no errors, but agda-mode from emacs does.The text was updated successfully, but these errors were encountered: