[Mono-devel-list] Re: [Remoting-corba-developer] Building 1.3.1 with mono 0.24 resu lts in the following error

Damian ONeill [AePONA] Damian.ONeill at aepona.com
Tue May 20 10:54:33 EDT 2003


If this is the case why is this not working?

 From Mono's classes page 
http://www.go-mono.com/class-status-corlib.html under System.Text it 
looks like they are providing an Encoding class for Latin-1.

?



Kristopher Johnson wrote:
> 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
> 
> 
> 


-- 
damian.oneill at aepona.com

Damian O'Neill
Software Engineer
AePONA Ltd,
Interpoint Building,
20-24 York Street,
Belfast,
BT15 1AQ

+44 (0) 2890 275246

http://www.aepona.com




More information about the Mono-devel-list mailing list