On Sat, 24 Aug 2013 21:47:39 -0700 (PDT)
chrisg...@gmail.com wrote:

>     response = rpc_pb2.Response()
>     response.service_name = ""
>     response.method_name = "SendHeartbeatResult"
>     response.client_id = "ALERT_SERVICE"
>     response.status_cd = rpc_pb2.OK 
>     response.response_proto = str(heartbeatResult).encode('utf-8')

I agree with Ilia here. Whatever is going on, UTF-8 is not something
that should ever be applied to an encoded protobuf message. An encoded
protobuf message is a sequence of bytes, not characters.

Chris

Attachment: signature.asc
Description: PGP signature

Reply via email to