2016-11-11 19:55:12 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using MediaBrowser.Model.Text;
|
|
|
|
|
|
|
|
|
|
namespace SocketHttpListener.Primitives
|
|
|
|
|
{
|
|
|
|
|
public static class TextEncodingExtensions
|
|
|
|
|
{
|
|
|
|
|
public static Encoding GetDefaultEncoding(this ITextEncoding encoding)
|
|
|
|
|
{
|
|
|
|
|
return Encoding.UTF8;
|
|
|
|
|
}
|
2018-09-12 17:26:21 +00:00
|
|
|
|
|
|
|
|
|
public static Encoding GetDefaultEncoding()
|
|
|
|
|
{
|
|
|
|
|
return Encoding.UTF8;
|
|
|
|
|
}
|
2016-11-11 19:55:12 +00:00
|
|
|
|
}
|
|
|
|
|
}
|