Parsing message containing multibyte characters may adds null characters to the resulting stanza

Description

If message contains multibyte characters parsing can adds null characters to the random place of resulting stanza.

http://www.igniterealtime.org/community/message/153789#153789

Thanks to Tim.

Environment

None
Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak