-
Notifications
You must be signed in to change notification settings - Fork 24
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
GHC-supplied hsc2hs executable fails if non-ISO/IEC 8859-1 (Latin-1) code points are in the path #96
Comments
I think the general issue is not Windows-specific. With Ubuntu 24.04.1 LTS (via WSL2) in Windows Terminal:
#include "/home/mpilgrem/.stack/����/programs/x86_64-linux/ghc-tinfo6-9.8.4/lib/ghc-9.8.4/lib/template-hsc.h" |
I think part of the problem could be as simple as |
mpilgrem
changed the title
GHC-supplied hsc2hs executable fails if non-ASCII characters are in the path
GHC-supplied hsc2hs executable fails if non-ISO/IEC 8859-1 (Latin-1) code points are in the path
Dec 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue applies to the executable provided with, at least, GHC 9.4.8, 9.6.6, 9.8.4 and 9.10.1.
On Windows 11 in Windows Terminal, with Hebrew characters (a right-to-left language):
Dummy_hsc_make.c
is created and starts:With Cyrillic characters (a left-to-right language):
Dummy.hsc
is simply:The expected behaviour is that
hsc2hs
handles all valid paths on platforms supported by GHC.(The context is that a Stack user reported this as an issue:
The text was updated successfully, but these errors were encountered: