Skip to content

Commit ad5e062

Browse files
committed
Fix an issue with arities
1 parent 87f7b89 commit ad5e062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/global_flags.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ once(Flag, Fun) when
5555
%% @doc Sets a global flag, typically only used internally.
5656
-spec set(binary() | list()) -> ok.
5757
set(Flag) when is_binary(Flag) ->
58-
_ = erlang:binary_to_atom(Flag),
58+
_ = binary_to_atom(Flag, utf8),
5959
ok;
6060
set(Flag) when is_list(Flag) ->
6161
_ = list_to_atom(Flag),

0 commit comments

Comments
 (0)