Yes, this is true. It's easy to write your own encoding, though. Just look
at the way the TextFormat class is written -- it only uses public
interfaces. So, you could take the TextFormat class and modify it however
you want, or white something entirely different.
On Fri, Jan 16, 2009 at 4:55 PM, Vadim Peretokin wrote:
>
> Hi,
>
> We're looking into using the buffers for an open-source project
> because of the better readability over xml files. There is one issue
> however - quotes and newlines of a string in the text format aren't
> preserved, but instead replaced with their escaped equivalets (\", \n)
> and that is not too human-friendly.
>
> I briefly looked over the documentation, but did not find any option
> for an alternative way to store strings (for example, like lua's
> [[]]).
>
> Can anyone confirm that this is indeed true?
> >
>
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---