[Mono-devel-list] Characters soap serialization question

Roei Erez roeie at mainsoft.com
Mon Jun 27 08:05:05 EDT 2005

I am talking about soap serialization, and the test case is simple.
Just try to serialize a Char object as follows: 

	SoapFormatter formatter = new SoapFormatter();
	formatter.Serialize(stream, char.MaxValue);
catch(Exception e)
	Console.WriteLine(e.StackTrace + e.Message);

This will give different output on MS.NET and MONO.

Is the encoding used in MONO to serialize characters different than the one
used in MS.NET?

-----Original Message-----
From: Lluis Sanchez [mailto:lluis at ximian.com] 
Sent: Monday, June 27, 2005 2:54 PM
To: Roei Erez
Cc: Mono-Dev-List
Subject: Re: [Mono-devel-list] Characters soap serialization question

El dg 26 de 06 del 2005 a les 11:51 +0300, en/na Roei Erez va escriure:
> The serialization results of System.Char objects are different between 
> mono platofrm and ms.net platform.

Which kind of serialization? xml, binary, soap? Do you have a test case that
shows the difference?

> The difference occurs only when the characte contains high values like 
> 'char.MaxValue'.
> Does anyone know how the serialization result should be , when dealing 
> with these values?
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

More information about the Mono-devel-list mailing list