Skip to content

Commit c20fe6f

Browse files
author
José Valim
committed
Set encoding to unicode in io device and no longer process inspect_opts
1 parent 86e7069 commit c20fe6f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/iex/lib/iex.ex

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,6 @@ defmodule IEx do
223223
delegate_locals_to: IEx.Helpers
224224
)
225225
226-
if opts[:inspect_opts] do
227-
IEx.Options.set :inspect, opts[:inspect_opts]
228-
end
229-
230226
IEx.Config[
231227
binding: opts[:binding] || [],
232228
scope: scope,
@@ -245,7 +241,7 @@ defmodule IEx do
245241
expand_fun = IEx.Autocomplete.expand &1
246242
end
247243
248-
:io.setopts gl, [expand_fun: expand_fun, binary: true]
244+
:io.setopts gl, [expand_fun: expand_fun, binary: true, encoding: :unicode]
249245
end
250246
251247
defp ensure_module_exists(node, mod) do

0 commit comments

Comments
 (0)