jellyfin/MediaBrowser.Model/Text/ITextEncoding.cs

14 lines
423 B
C#
Raw Normal View History

using System.Text;
2018-12-27 23:27:57 +00:00
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);
}
}