Re: [protobuf] Problem encoding between C# string on windows and C++ on unix

2017-01-04 Thread Jamie Sherman
gt; On Jan 4, 2017, at 11:57 AM, Jamie Sherman <jamie.sher...@gmail.com> > wrote: > > So I forced the message to have fixed values: > > C# > xsetHeader.TotalXicSets = 10; > xsetHeader.WiffName = "myWiffNameHolder"; > > hexdump of mess

Re: [protobuf] Problem encoding between C# string on windows and C++ on unix

2017-01-04 Thread Jamie Sherman
On Wednesday, 4 January 2017 14:36:04 UTC-5, Feng Xiao wrote: > > > > On Wed, Jan 4, 2017 at 8:38 AM, Jamie Sherman <jamie@gmail.com > > wrote: > >> I have a proto message that I have defined. I'm consuming the message on >> OSX using C++ and producing

[protobuf] Problem encoding between C# string on windows and C++ on unix

2017-01-04 Thread Jamie Sherman
I have a proto message that I have defined. I'm consuming the message on OSX using C++ and producing it on windows using C#. I'm using release 3.0.0 of Google.protobuf (NuGet on windows, compiled and built on OSX). I have read that Protobuf stores UTF-8 strings. I realize that native C#