Fix the bug for the message is a hash. Fix the bug for multi-bytes chara...

...ctor did not receiverd.