[Mono-dev] Build error in svn

Atsushi Eno atsushi at ximian.com
Thu Aug 25 12:18:28 EDT 2005

As a quick workaround I added /codepage:28591 for all problematic
assemblies. After that I feel reluctant to fix those bugs :-/

Kornél Pál wrote:
> UTF8Encoding should ignore them anyway when throwOnInvalidBytes = false
> (default) so i think UTF8Encoding is bugous as well.

However the example code below did not show different results
between MS.NET and Mono.

using System;
using System.Text;

public class Test
         public static void Main ()
                 string s = Encoding.UTF8.GetString (new byte [] {0xE9});
                 foreach (char c in s)
                         Console.WriteLine ("{0:x02} ", (int) c);

Atsushi Eno

More information about the Mono-devel-list mailing list