mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 02:18:54 -07:00
15 lines
440 B
C#
15 lines
440 B
C#
using System.IO;
|
|
using System.Text;
|
|
|
|
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);
|
|
}
|
|
}
|