Skip to content

BUG pretty not working on Windows: "invalid character" #242

Description

@turbotimon

Prettyprinter does not work on Windows when printing a special character

ghci> import Prettyprinter
ghci> pretty "hello"
hello
ghci> pretty "hello λ"
hello *** Exception: <stdout>: hPutChar: invalid argument (invalid character)
  • Windows 10
  • Tested with PowerShell and CMD
  • prettyprinter-1.7.1 (stack snapshot lts-20.10)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions