aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Text/ITextEncoding.cs
blob: 619d90a2b97b18cf6c0fe50f6052d140a5bdce68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System.IO;
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);
    }
}