[protobuf] Problem with accents in python while unpacking a message

2011-01-20 Thread Louhike
example). I need to keep the accents but I don’t find a solution to do it. It may seem simple but I’m in an early learning phase of programming and I'm often stuck on little things like that. Any help would be useful. Thanks, Louhike -- You received this message because you are subscr

[protobuf] Re: Problem with accents in python while unpacking a message

2011-01-24 Thread Louhike
Unfortunately, I don't think it would be really usefull, there's a lot of calls to others functions. I can give you the line which returns the exception : google.protobuf.text_format.Merge(messageString, gpbIMessage) where messageString is the serialized message which has been received and gpbIM

[protobuf] Re: Problem with accents in python while unpacking a message

2011-01-24 Thread Louhike
the object where I want to save the message. The problem occurs when messageString contains parameters with accents. On Jan 21, 9:00 pm, Jason Hsueh wrote: > Can you provide a small, self-contained reproduction of the program? > > > > > > > > On Thu, Jan 20, 2011 at 10:3

[protobuf] Re: Problem with accents in python while unpacking a message

2011-01-24 Thread Louhike
the object where I want to save the message. The problem occurs when gpbBufferMessage contains parameters with accents. On Jan 21, 9:00 pm, Jason Hsueh wrote: > Can you provide a small, self-contained reproduction of the program? > > > > > > > > On Thu, Jan 20, 201

[protobuf] Re: protocol buffers and client-server communication

2011-01-24 Thread Louhike
You can put differents messages in a proto file, you define them like that : Message X { required/optional type parameter1 = 1 required/optional type parameter2 = 2 ... } Message Y { required/optional type parameter1 = 1 required/optional type parameter2 = 2 ... } You can also put messages in mess