Working with non-latin home directory needs Windows version upgrade
Summary
ghc does not work with non-latin username (home directory) on Windows.
The problem starts with choco
Haskell Platform installation, which locks ghc
to the non-latin path.
Note that the location of the source file does not matter - it does not have non-latin chars on path.
Steps to reproduce
D:\tools
λ echo main = putStrLn "Hello World!" > hello.hs && ghc hello.hs
[1 of 1] Compiling Main ( hello.hs, hello.o )
Linking hello.exe ...
C:\Users\Евгений\AppData\Local\Temp\ghc6524_0\ghc_6.rsp: commitBuffer: invalid argument (invalid character)
Expected behavior
ghc hello.hs
should compile an executable
Environment
- GHC version used:
The Glorious Glasgow Haskell Compilation System, version 8.10.1
Optional:
Microsoft Windows [Version 10.0.17763.973]