Re: Encoding.Convert

Atsushi Eno <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
That smells like a bug but the latest mono uses Microsoft 
referencesource for UTF8Encoding and co. so that may not happen anymore.

Atsushi Eno

On 2015年04月03日 19:38, Stefano Facchetti - Arcoba Srl wrote:
> Hi,
> 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,
> Stefano.
>
>
> _______________________________________________
> Mono-list maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-list

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.