[corlib] Let XI and XM define their own default encoding [#29928]
commite4510d854690144cd8029629d8fca8559dd54485
authorSebastien Pouliot <sebastien@xamarin.com>
Wed, 27 May 2015 17:35:38 +0000 (27 13:35 -0400)
committerSebastien Pouliot <sebastien@xamarin.com>
Tue, 2 Jun 2015 20:53:42 +0000 (2 16:53 -0400)
tree1b2270d2449797c6c34d28622d33627795ba87ea
parenta3b2464acb739306eb269d3bfd5f0c43f2ada00b
[corlib] Let XI and XM define their own default encoding [#29928]

605192528de1a9c9c95a97bc5a2de7d3c85b322d used UTF8Unmarked for MONOTOUCH
and XAMMAC. However it's initialized differently (than the old UTF8) and
caused unit test regressions in System and System.Net.Http unit tests

This new logic moves the default encoding creation into the products
themselves.
mcs/class/corlib/System.Text/EncodingHelper.cs