[Mono-dev] Serialization

voilierdusud stephane at dorlac.com
Tue Mar 24 11:25:47 EDT 2009


I have a problem when serializing an object.

I'm using following code but some string field contains character with
accent (encoding 8859-1). It's ok on windows with .NET but not with mono on
linux (accents are replace by '?' char)

 using (TextWriter writer = new StreamWriter(completeFileName, true,
                    xmlSerializer.Serialize(writer, processedObject);                   

Any idea ?

I'm using mono version 1.9.1

Thanks for your help

View this message in context: http://www.nabble.com/Serialization-tp22682858p22682858.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list