mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 20:38:24 +02:00
21 lines
475 B
C#
21 lines
475 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;
|
|
}
|
|
|
|
public static Encoding GetDefaultEncoding()
|
|
{
|
|
return Encoding.UTF8;
|
|
}
|
|
}
|
|
}
|