mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* list: added WebEncoding.cs * System.Web/HttpApplication.cs: reenabled a few lines of code (ThreadPool already fixed). * System.Web/HttpRequest.cs: * System.Web/HttpResponse.cs: * System.Web/HttpUtility.cs: * System.Web/HttpValueCollection.cs: * System.Web/HttpWriter.cs: * System.Web.UI/LosFormatter.cs: Use WebEncoding.Encoding. * System.Web.Compilation/PageCompiler.cs: tracing. * System.Web.Compilation/TemplateFactory.cs: cache compiled types and tracing. * System.Web.Compilation/WebServiceCompiler.cs: new parameter in GetTypeFromsource, * System.Web.Configuration/HttpHandlersSectionHandler.cs: more null checks. * System.Web.UI/Control.cs: * System.Web.UI/Page.cs: * System.Web.Util/WebTrace.cs: fixed namespace. * System.Web.Util/WebEncoding.cs: new class that holds the default encoding for System.Web. svn path=/trunk/mcs/; revision=8599
25 lines
363 B
C#
25 lines
363 B
C#
//
|
|
// System.Web.Util.WebEncoding
|
|
//
|
|
// Authors:
|
|
// Gonzalo Paniagua Javier ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc (http://www.ximian.com)
|
|
//
|
|
|
|
using System.Text;
|
|
|
|
namespace System.Web.Util
|
|
{
|
|
internal class WebEncoding
|
|
{
|
|
static Encoding encoding = new UTF8Encoding (false);
|
|
|
|
static public Encoding Encoding
|
|
{
|
|
get { return encoding; }
|
|
}
|
|
}
|
|
}
|
|
|