Open kkruups opened 7 years ago
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')
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.
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:
Environment:
Win7 SP1 default_locale: ('ja_JP', 'cp932')