Ejabberd 15.07 erlang 18.1 add_rosteritem error

Hi all,

I have upgraded ejabberd to 15.07 version and erlang to 18.1 and I have an issue with ejabberdctl's add_rosteritem command.
Before update i could successfully add_rosteritem like that
ejabberdctl add_rosteritem micha localhost dorothy localhost michał friends both
But now i have an error
Problem 'error {case_clause,
{'EXIT',
{{badmatch,{error,{fread,character}}},
[{ejabberd_ctl,format_arg2,2,
[{file,"src/ejabberd_ctl.erl"},{line,333}]},
{ejabberd_ctl,format_arg,2,
[{file,"src/ejabberd_ctl.erl"},{line,324}]},
{ejabberd_ctl,'-format_args/2-fun-0-',2,
[{file,"src/ejabberd_ctl.erl"},{line,315}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1262}]},
{ejabberd_ctl,call_command,3,
[{file,"src/ejabberd_ctl.erl"},{line,290}]},
{ejabberd_ctl,try_call_command,3,
[{file,"src/ejabberd_ctl.erl"},{line,268}]},
{ejabberd_ctl,process2,3,
[{file,"src/ejabberd_ctl.erl"},{line,217}]},
{ejabberd_ctl,process,1,
[{file,"src/ejabberd_ctl.erl"},{line,202}]}]}}}' occurred executing the command.
Stacktrace: [{ejabberd_ctl,call_command,3,
[{file,"src/ejabberd_ctl.erl"},{line,290}]},
{ejabberd_ctl,try_call_command,3,
[{file,"src/ejabberd_ctl.erl"},{line,268}]},
{ejabberd_ctl,process2,3,
[{file,"src/ejabberd_ctl.erl"},{line,217}]},
{ejabberd_ctl,process,1,
[{file,"src/ejabberd_ctl.erl"},{line,202}]},
{rpc,'-handle_call_call/6-fun-0-',5,
[{file,"rpc.erl"},{line,206}]}]
I can not create roster item with utf-8 characters. When I remove 'ł' from roster item nick everything works fine.

Syndicate content