-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Milestone
Description
Environment
-
Elixir & Erlang versions (elixir -v): Erlang/OTP 19 [erts-8.0] [64-bit] [smp:12:12] [async-threads:10], Elixir 1.3.4
-
Operating system: Microsoft Windows [Version 10.0.14393]
Please note that I am using Polish version of windows. Probably default codepage in the shell is set to CP-1250 or something like this.
Current behavior
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Wszelkie prawa zastrzeżone.
C:\Users\marcin>iex
Eshell V8.0 (abort with ^G)
Interactive Elixir (1.3.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> "ł"
** (UnicodeConversionError) invalid encoding starting at <<136, 34, 10>>
(elixir) lib/string.ex:1748: String.to_charlist/1
Expected behavior
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Wszelkie prawa zastrzeżone.
C:\Users\marcin>iex
Eshell V8.0 (abort with ^G)
Interactive Elixir (1.3.4) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> "ł"
"ł"