17 lines
368 B
C#
17 lines
368 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|