Skip to content
This repository has been archived by the owner on Aug 23, 2018. It is now read-only.

Ungraceful exit from repl (for any charCode > 128) when Char.fromCode charCode #144

Open
kkruups opened this issue Dec 9, 2016 · 1 comment
Labels

Comments

@kkruups
Copy link

kkruups commented Dec 9, 2016

Issue:
Keycodes greater than 128 cause elm-repl to exit ungracefully.

Exhibited Behavior
Exits from repl with following Error:
elm-repl: fd:4: hGetContents: invalid argument (invalid byte sequence)

Expected Behavior: Exception Handled without exiting elm-repl

(additional info: not handling multi-byte byte character codes, on Japanese system start at from char code 129)

Code to recreate Issue in Repl:

    import Char
    
    Char.fromCode 129  -- (or higher)

Environment:
Win7 SP1
default_locale: ('ja_JP', 'cp932')

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@rtfeldman rtfeldman added the bug label Dec 18, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants