hsc2hs icon indicating copy to clipboard operation
hsc2hs copied to clipboard

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

Open mpilgrem opened this issue 1 year ago • 3 comments

Based on my experiments on Windows, issue:

  • #96

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

mpilgrem avatar Dec 14 '24 19:12 mpilgrem

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 avatar Dec 14 '24 19:12 mpilgrem

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

mpilgrem avatar Dec 15 '24 13:12 mpilgrem

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.

mpilgrem avatar Dec 15 '24 15:12 mpilgrem