[Mono-devel-list] RE: [Remoting-corba-developer] Building 1.3.1 with mono 0.24 resu lts in the following error
Kristopher Johnson
kris at kristopherjohnson.net
Tue May 20 10:45:07 EDT 2003
The code in question is 'Encoding.GetEncoding("ISO_8859-1")'. It
should be noted that "ISO_8859-1" is not listed in Microsoft's
documentation as a supported encoding (but it does apparently work in
Microsoft's .NET Framework.
You might try changing the initialization of
CorbaServices.DefaultEncoding to use a different encoding. This would
not be strictly compliant with the CORBA specs, as ISO 8859-1 (aka
"Latin-1") is the official encoding, but would work as long as strings
don't require characters outside the 7-bit range. For example, you
might try changing it to use ASCII:
public static readonly Encoding DefaultEncoding
= Encoding.ASCII;
-- Kris
> -----Original Message-----
> From: remoting-corba-developer-admin at lists.sourceforge.net
> [mailto:remoting-corba-developer-admin at lists.sourceforge.net]
> On Behalf Of Urs Muff
> Sent: Tuesday, May 20, 2003 8:44 AM
> To: 'Damian ONeill [AePONA]'; Urs Muff;
> 'mono-devel-list at lists.ximian.com'
> Cc: 'Remoting .Corba'
> Subject: RE: [Remoting-corba-developer] Building 1.3.1 with
> mono 0.24 resu lts in the following error
>
>
> That means that System.Text.Encoding.GetEncoding(string) is
> still not supported in mono. (Not implemented yet...)
>
> I truly hope that this will change in the near future.
>
> - URS C. MUFF
> SOFTWARE ARCHITECT - RESEARCH LAB
More information about the Mono-devel-list
mailing list