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