From 1effb745a38ed0f3d001b24393bf8dc177033af2 Mon Sep 17 00:00:00 2001 From: Shunichi Shinohara Date: Thu, 22 Feb 2018 09:22:07 +0900 Subject: Set unicode option for starndard_io at entry point --- src/rebar3.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rebar3.erl') diff --git a/src/rebar3.erl b/src/rebar3.erl index 2b24bca..80b4e4d 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -116,6 +116,7 @@ run(RawArgs) -> -spec run_aux(rebar_state:t(), [string()]) -> {ok, rebar_state:t()} | {error, term()}. run_aux(State, RawArgs) -> + io:setopts([{encoding, unicode}]), %% Profile override; can only support one profile State1 = case os:getenv("REBAR_PROFILE") of false -> -- cgit v1.1