diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2018-02-21 19:53:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-21 19:53:27 -0500 |
commit | 2560aaf5d05619d77a0c17e09106ac2b4ac1c6cc (patch) | |
tree | 2b0994f5b2236e3b0dcaef651e9987a55fedb33a /src/rebar3.erl | |
parent | 94ea0630b1b9b06459857e98f83c8b0ef5dbecc4 (diff) | |
parent | 1effb745a38ed0f3d001b24393bf8dc177033af2 (diff) |
Merge pull request #1718 from shino/bugfix/io-opts-unicode
Set unicode option for standard_io at entry point
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r-- | src/rebar3.erl | 1 |
1 files changed, 1 insertions, 0 deletions
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 -> |