jellyfin/MediaBrowser.Model/Text/ITextEncoding.cs

15 lines
420 B
C#
Raw Normal View History

2017-04-18 05:53:39 +00:00
using System.IO;
using System.Text;
2016-11-08 18:44:23 +00:00
namespace MediaBrowser.Model.Text
{
public interface ITextEncoding
{
Encoding GetASCIIEncoding();
2017-04-18 05:53:39 +00:00
2017-06-18 07:11:55 +00:00
string GetDetectedEncodingName(byte[] bytes, string language, bool enableLanguageDetection);
Encoding GetDetectedEncoding(byte[] bytes, string language, bool enableLanguageDetection);
2017-04-18 05:53:39 +00:00
Encoding GetEncodingFromCharset(string charset);
2016-11-08 18:44:23 +00:00
}
}