diff options
Diffstat (limited to 'mcs/class/corlib/System.Text/UTF8Encoding.cs')
-rwxr-xr-x | mcs/class/corlib/System.Text/UTF8Encoding.cs | 38 |
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; - } - } -} |