Re: proto with java & c++ & python

2009-09-10 Thread Kenton Varda
On Thu, Sep 10, 2009 at 12:51 AM, SuKai wrote: > In this page > http://code.google.com/intl/zh-CN/apis/protocolbuffers/docs/cpptutorial.html, > "Parsing and Serialization" section, > > * |bool SerializeToString(string* output) const;|: serializes the > message and stores the bytes in the gi

Re: proto with java & c++ & python

2009-08-31 Thread Kenton Varda
C++ Protocol Buffers use UTF-8 for all text encoding, regardless of platform. If you want to use some other encoding in your code, you will have to manually convert between that and UTF-8 when interacting with Protocol Buffers. In Java and Python everything is taken care of automatically, since th

proto with java & c++ & python

2009-08-30 Thread IChina
Hi All: I want to use PB to RPC, in java c++ python. They have interact. In windows, vs2008 unicode mode is use UTF16, but in linux is UTF8. I don't know this is ok?encode support is ok? Generally, python is used UTF8 , also. --~--~-~--~~~---~--~~ You recei