mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
14 lines
420 B
C#
14 lines
420 B
C#
using System.IO;
|
|
using System.Text;
|
|
|
|
namespace MediaBrowser.Model.Text
|
|
{
|
|
public interface ITextEncoding
|
|
{
|
|
Encoding GetASCIIEncoding();
|
|
|
|
string GetDetectedEncodingName(byte[] bytes, string language, bool enableLanguageDetection);
|
|
Encoding GetDetectedEncoding(byte[] bytes, string language, bool enableLanguageDetection);
|
|
Encoding GetEncodingFromCharset(string charset);
|
|
}
|
|
}
|