This has been discussed before but no one has gotten around to doing it.
 I'd be happy to accept a patch which adds a method DontEscapeUtf8(bool) to
TextFormat::Printer.  Of course, unprintable ASCII characters should still
be escaped.

On Wed, Sep 30, 2009 at 2:06 AM, Dmitry Ermolov <>wrote:

> Hi all,
> I use protocol bufferst to serialize some strings, which encoded in
> UTF-8.
> When I use the function Print from "text_format.h", I get strings
> like:
> UtfField: "\321\202\320\265\321\201\321\202"
> Is there some way to pretty-print such string itself, but not a binary
> representation?
> Thank you!
> --
> Dmitry Ermolov
> >

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to