From: Sebastien Pouliot Date: Mon, 1 Jun 2015 19:20:18 +0000 (-0400) Subject: [corlib] Xamarin.Mac to continue default to the OS default codepage X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=6c51f352bd129f046fbc3a08ca8a7343f962317f;p=mono.git [corlib] Xamarin.Mac to continue default to the OS default codepage XM 2.0 was the first version to ship the mobile (w/unified) and it used the OS default codepage. The previous, system mono, profile was already using the OS default codepage so it make sense for XM to be consistent across profiles ( including the 4.5 subset) --- diff --git a/mcs/class/corlib/System.Text/EncodingHelper.cs b/mcs/class/corlib/System.Text/EncodingHelper.cs index 8e797d8cdc5..c30ceff5b92 100644 --- a/mcs/class/corlib/System.Text/EncodingHelper.cs +++ b/mcs/class/corlib/System.Text/EncodingHelper.cs @@ -71,7 +71,7 @@ internal static partial class EncodingHelper [MethodImpl (MethodImplOptions.InternalCall)] extern internal static string InternalCodePage (ref int code_page); -#if !(MONOTOUCH || XAMMAC) +#if !MONOTOUCH internal static Encoding GetDefaultEncoding () { Encoding enc = null;