[Mono-dev] Serialization

Andreas Nahr ClassDevelopment at A-SoftTech.com
Mon Mar 30 06:01:24 EDT 2009

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 ;)


-----Ursprüngliche Nachricht-----
Von: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] Im Auftrag von
Gesendet: Dienstag, 24. März 2009 16:26
An: mono-devel-list at lists.ximian.com
Betreff: [Mono-dev] Serialization


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:
Sent from the Mono - Dev mailing list archive at Nabble.com.

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com

More information about the Mono-devel-list mailing list