aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Text/ITextEncoding.cs
blob: 1a5918eb761c1d2837c288412c9fb2108ceaaf0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System.Text;

namespace MediaBrowser.Model.Text
{
    public interface ITextEncoding
    {
        Encoding GetASCIIEncoding();

        string GetDetectedEncodingName(byte[] bytes, int size, string language, bool enableLanguageDetection);
        Encoding GetDetectedEncoding(byte[] bytes, int size, string language, bool enableLanguageDetection);
        Encoding GetEncodingFromCharset(string charset);
    }
}