Initial import of a portable System.Text.Encoding implementation