2017-04-18 01:53:39 -04:00
|
|
|
|
using System.IO;
|
|
|
|
|
|
using System.Text;
|
2016-11-08 13:44:23 -05:00
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Model.Text
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface ITextEncoding
|
|
|
|
|
|
{
|
|
|
|
|
|
Encoding GetASCIIEncoding();
|
2017-04-18 01:53:39 -04:00
|
|
|
|
|
2017-09-03 21:24:20 -04:00
|
|
|
|
string GetDetectedEncodingName(byte[] bytes, int size, string language, bool enableLanguageDetection);
|
|
|
|
|
|
Encoding GetDetectedEncoding(byte[] bytes, int size, string language, bool enableLanguageDetection);
|
2017-04-18 01:53:39 -04:00
|
|
|
|
Encoding GetEncodingFromCharset(string charset);
|
2016-11-08 13:44:23 -05:00
|
|
|
|
}
|
|
|
|
|
|
}
|