Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/corlib/System.Text/UTF8Encoding.cs')
-rwxr-xr-xmcs/class/corlib/System.Text/UTF8Encoding.cs38
1 files changed, 0 insertions, 38 deletions
diff --git a/mcs/class/corlib/System.Text/UTF8Encoding.cs b/mcs/class/corlib/System.Text/UTF8Encoding.cs
deleted file mode 100755
index 4f1e58a3f5f..00000000000
--- a/mcs/class/corlib/System.Text/UTF8Encoding.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// System.Text.UTF8Encoding.cs
-//
-// Authors:
-// Sean MacIsaac (macisaac@ximian.com)
-// Dietmar Maurer (dietmar@ximian.com)
-//
-// (C) Ximian, Inc. http://www.ximian.com
-//
-
-namespace System.Text
-{
- [Serializable]
- public class UTF8Encoding : Encoding
- {
- public UTF8Encoding () : base ("UTF-8", false)
- {
- encoding_name = "Unicode (UTF-8)";
- body_name = "utf-8";
- header_name = "utf-8";
- web_name = "utf-8";
- is_browser_display = true;
- is_browser_save = true;
- is_mail_news_display = true;
- is_mail_news_save = true;
- }
-
- public override int GetMaxByteCount (int charCount)
- {
- return charCount*6;
- }
-
- public override int GetMaxCharCount (int byteCount)
- {
- return byteCount;
- }
- }
-}