try to encode from gbk18030 to utf-8 when invalid byte found in message