On Sun, Aug 14, 2016 at 11:49 PM, <[email protected]> wrote:

> Hi guys, I am new to protobuf, the scenario is I have a response file,
> there is some strings in Chinese. when I convert the file using BidResponse
> object, to send it to AdX server. it modifies the specific string into
> numerical form.  like 你好 in to /23/54/ like string.. How can I deal with
> such problem. Thanks in advance :)
>
This seems an encoding issue. What's the encoding used by the original
repsonse file? Protobuf uses UTF-8, so if you set some non-UTF-8 encoded
data into a protobuf string field, it might lead to some problems.


> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/protobuf.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to