jellyfin/MediaBrowser.Model/Text/ITextEncoding.cs

15 lines
420 B
C#
Raw Normal View History

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-06-18 00:11:55 -07:00
string GetDetectedEncodingName(byte[] bytes, string language, bool enableLanguageDetection);
Encoding GetDetectedEncoding(byte[] bytes, string language, bool enableLanguageDetection);
2017-04-17 22:53:39 -07:00
Encoding GetEncodingFromCharset(string charset);
2016-11-08 11:44:23 -07:00
}
}