-
Notifications
You must be signed in to change notification settings - Fork 36
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
BUG pretty not working on Windows: "invalid character" #242
Comments
What happens if you just input 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: (this link may be also useful) |
Here seems to be workaround that can probably be implemented in programs and libraries (rather than by the end user). |
Prettyprinter does not work on Windows when printing a special character
The text was updated successfully, but these errors were encountered: