50 references to GetEncoding
mscorlib (1)
system\security\util\parser.cs (1)
362_t.ChangeFormat( System.Text.Encoding.GetEncoding( stream.GetNextString() ) );
System (20)
net\System\Net\HttpListenerRequest.cs (2)
368return Encoding.GetEncoding(postDataCharset); 379return Encoding.GetEncoding(charSet);
net\System\Net\mail\Attachment.cs (4)
122encoding = Text.Encoding.GetEncoding(contentType.CharSet); 129encoding = Text.Encoding.GetEncoding(MimeBasePart.defaultCharSet); 180encoding = Text.Encoding.GetEncoding(MimeBasePart.defaultCharSet); 358encoding = Encoding.GetEncoding(MimeBasePart.defaultCharSet);
net\System\Net\mail\ContentDisposition.cs (1)
315encoding = Encoding.GetEncoding(MimeBasePart.defaultCharSet);
net\System\Net\mail\ContentType.cs (1)
236encoding =Encoding.GetEncoding(MimeBasePart.defaultCharSet);
net\System\Net\mail\MailAddress.cs (2)
34this.displayNameEncoding = Encoding.GetEncoding(MimeBasePart.defaultCharSet); 74this.displayNameEncoding = displayNameEncoding ?? Encoding.GetEncoding(MimeBasePart.defaultCharSet);
net\System\Net\mail\MailMessage.cs (1)
204bodyEncoding = Text.Encoding.GetEncoding(MimeBasePart.defaultCharSet);
net\System\Net\mail\Message.cs (4)
175subjectEncoding = Encoding.GetEncoding(MimeBasePart.defaultCharSet); 334this.headersEncoding = Encoding.GetEncoding(MimeBasePart.defaultCharSet); 365this.headersEncoding = Encoding.GetEncoding(MimeBasePart.defaultCharSet); 457this.headersEncoding = Encoding.GetEncoding(MimeBasePart.defaultCharSet);
net\System\Net\mail\MimeBasePart.cs (4)
41encoding = Encoding.GetEncoding(MimeBasePart.defaultCharSet); 80IEncodableStream s = encoderFactory.GetEncoderForHeader(Encoding.GetEncoding(charSet), base64Encoding, 0); 84Encoding encoding = Encoding.GetEncoding(charSet); 104return Encoding.GetEncoding(charSet);
net\System\Net\webclient.cs (1)
1606enc = Encoding.GetEncoding(item);
System.Data (1)
fx\src\data\System\Data\SQLTypes\SqlXml.cs (1)
193 writerSettings.Encoding = Encoding.GetEncoding("utf-16");
System.Data.Services (1)
System\Data\Services\HttpProcessUtility.cs (1)
444return Encoding.GetEncoding(name);
System.Data.Services.Client (1)
parent\Server\System\Data\Services\HttpProcessUtility.cs (1)
444return Encoding.GetEncoding(name);
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
545Encoding encoding = Encoding.GetEncoding(input.Value);
System\Xml\Xsl\XsltOld\XsltOutput.cs (1)
123this.encoding = System.Text.Encoding.GetEncoding(value);
System.ServiceModel (2)
System\ServiceModel\Configuration\EncodingConverter.cs (1)
48retval = Encoding.GetEncoding(encoding);
System\ServiceModel\Description\MetadataExchangeClient.cs (1)
1325e = Encoding.GetEncoding(charset);
System.Web (10)
Configuration\GlobalizationSection.cs (4)
271responseEncodingCache = (Encoding)Encoding.GetEncoding((string)base[_propResponseEncoding]); 280responseHeaderEncodingCache = (Encoding)Encoding.GetEncoding((string)base[_propResponseHeaderEncoding]); 292requestEncodingCache = (Encoding)Encoding.GetEncoding((string)base[_propRequestEncoding]); 304fileEncodingCache = (Encoding)Encoding.GetEncoding((string)base[_propFileEncoding]);
HttpRequest.cs (2)
911return Encoding.GetEncoding(postDataCharset); 936encoding = Encoding.GetEncoding(charSet);
UI\Page.cs (3)
3838set { Response.ContentEncoding = Encoding.GetEncoding(value); } 5598_response.ContentEncoding = Encoding.GetEncoding(preferredResponseEncoding); 5602_request.ContentEncoding = Encoding.GetEncoding(preferredRequestEncoding);
UI\PageParser.cs (1)
433Encoding.GetEncoding(_responseEncoding);
System.Web.Mobile (3)
UI\MobileControls\Adapters\HtmlPageAdapter.cs (2)
405context.Response.ContentEncoding = Encoding.GetEncoding(preferredResponseEncoding); 409context.Request.ContentEncoding = Encoding.GetEncoding(preferredRequestEncoding);
UI\MobileControls\Adapters\WmlPageAdapter.cs (1)
451private static readonly Encoding UTF8Encoding = Encoding.GetEncoding("UTF-8");
System.Web.Services (2)
System\Web\Services\Protocols\RequestResponse.cs (2)
48e = Encoding.GetEncoding(charset); 73e = Encoding.GetEncoding(charset);
System.Windows.Forms (3)
winforms\Managed\System\Resources\ResXDataNode.cs (2)
281fileRef = new ResXFileRef(FileRefFullPath, FileRefType, Encoding.GetEncoding(FileRefTextEncoding)); 679fileRef = new ResXFileRef(FileRefFullPath, FileRefType, Encoding.GetEncoding(FileRefTextEncoding));
winforms\Managed\System\Resources\ResXFileRef.cs (1)
296textFileEncoding = Encoding.GetEncoding(parts[2]);
System.Xml (2)
System\Xml\Core\XmlTextReaderImpl.cs (1)
3012newEncoding = Encoding.GetEncoding( newEncodingName );
System\Xml\Dom\XmlDocument.cs (1)
1137return System.Text.Encoding.GetEncoding( value );
System.Xml.Linq (2)
System\Xml\Linq\XLinq.cs (2)
5832ws.Encoding = Encoding.GetEncoding(declaration.Encoding); 5875ws.Encoding = Encoding.GetEncoding(declaration.Encoding);