Open turbotimon opened 1 year ago
What happens if you just input "hello λ"
?
Did you configure your terminal to use UTF-8?
I looks like UTF-8 generally work in PS and CMD. In GHCI it get's escaped (but no error):
PS C:\Users\user> "hello ?"
hello λ
PS C:\Users\user> ghci
GHCi, version 9.2.5: https://www.haskell.org/ghc/ :? for help
ghci> "hello λ"
"hello \955"
I know other people having this issue on windows, it therefore seems not to be a isolated problem with my system.
I found a workaround by changing the codepage of the PowerShell or cmd.exe: chcp 65001
(this link may be also useful)
Prettyprinter does not work on Windows when printing a special character