[Mono-list] Encoding.Convert

Stefano Facchetti - Arcoba Srl s.facchetti at arcoba.it
Fri Apr 3 10:38:23 UTC 2015

I'm using Mono 3.12.1 on ubuntu 14.04.02 LTS

The following code works only on windows machine:

byte[] tmp = MyFunction.GetByteArray();
byte[] conv = Encoding.Convert(Encoding.UTF8, 
Encoding.GetEncoding(1252), tmp);

With mono I receive the following error: /Insufficient space in the 
argument array. Parameter name: bytes/
Any idea..?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20150403/5ed571ac/attachment.html>

More information about the Mono-list mailing list