Is it possible that the serialization is correct and it is just your display font missing the character? Why even use another specific (28591) encoding for serialization? Also mono 1.9.1 is ancient. Current is 2.2 and we are near 2.4, so you should upgrade ;)
Andreas -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von voilierdusud Gesendet: Dienstag, 24. März 2009 16:26 An: [email protected] Betreff: [Mono-dev] Serialization Hi, 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, Encoding.GetEncoding(28591))) { 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. _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
