Skip to content

Fix #96 Write files with utf8 encoding, not, effectively, char8#97

Open
mpilgrem wants to merge 1 commit intohaskell:masterfrom
mpilgrem:fix96
Open

Fix #96 Write files with utf8 encoding, not, effectively, char8#97
mpilgrem wants to merge 1 commit intohaskell:masterfrom
mpilgrem:fix96

Conversation

@mpilgrem
Copy link
Copy Markdown

Based on my experiments on Windows, issue:

can be fixed by writing files with UTF8 encoding, instead of, effectively, char8.

@mpilgrem
Copy link
Copy Markdown
Author

The CI fails with GHC 8.2.2. However: (a) I think that is for reasons unrelated to this pull request and (b) GHC 8.2.2, released on 22 July 2017, is considered obsolete by the Cabal and Stack projects.

@mpilgrem
Copy link
Copy Markdown
Author

The CI for Linux/GHC 9.12.20241014 is failing for reasons unrelated to this pull request.

@mpilgrem
Copy link
Copy Markdown
Author

I have not investigated what the current CI actually tests but, having identified the original GHC issue https://gitlab.haskell.org/ghc/ghc/-/issues/3837, I tested on Windows 11 with the given A.hsc:

--

and that still worked.

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

Successfully merging this pull request may close these issues.

1 participant