mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 23:13:06 +03:00
Add GPL modules
This commit is contained in:
14
MediaBrowser.Model/Text/ITextEncoding.cs
Normal file
14
MediaBrowser.Model/Text/ITextEncoding.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user