When using non-ASCII characters, make sure you are using the "unicode" type,
not "str", to avoid any ambiguity in character encoding.

Also, I vaguely remember a bug fix related to this that is in version 2.4.0,
so you might try that.

On Thu, Jan 20, 2011 at 10:39 AM, Louhike <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<protobuf%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to