Fix messaging encoding.
Merge pull request #56 from jrouault/fix/messagingEncoding

Fix messaging encoding.