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 : gpbMessage.ParseFromString(gpbBufferMessage) where gpbBufferMessageis the serialized message which has been received and gpbMessagethe 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 <jas...@google.com> wrote: > Can you provide a small, self-contained reproduction of the program? > > > > > > > > On Thu, Jan 20, 2011 at 10:39 AM, Louhike <louh...@gmail.com> wrote: > > Hi, > > I'm using Google Protobuf with python on a project. > > My problem is I get an error while my program tries to build an > > instance with the function google.protobuf.text_format.merge() if the > > message contains accents (“utf-8 can't decode the byte \xe9” with the > > character 'é' for 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 subscribed to the Google Groups > > "Protocol Buffers" group. > > To post to this group, send email to protobuf@googlegroups.com. > > To unsubscribe from this group, send email to > > protobuf+unsubscr...@googlegroups.com<protobuf%2Bunsubscribe@googlegroups.c > > om> > > . > > For more options, visit this group at > >http://groups.google.com/group/protobuf?hl=en. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.