haskell-prettyprinter / haskell-prettyprinter/prettyprinter

BUG pretty not working on Windows: "invalid character"

Open
#242 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
309
Forks
43
Avg merge
21h 25m
Merged PRs (30d)
1

Description

Prettyprinter does not work on Windows when printing a special character

```
ghci> import Prettyprinter
ghci> pretty "hello"
hello
ghci> pretty "hello λ"
hello *** Exception: : hPutChar: invalid argument (invalid character)
```

- Windows 10
- Tested with PowerShell and CMD
- prettyprinter-1.7.1 (stack snapshot lts-20.10)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.