aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Text/ITextEncoding.cs
blob: d6fd3463b8539026916353624284c3c38bbf8987 (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);
    }
}