mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-03 20:55:58 +00:00
1 parent
a358631040
commit
321c440739
46 files changed
+81
-94
No files matched your search
@@ -150,7 +150,7 @@ namespace Emby.Server.Implementations.TextEncoding
|
||||
public CharacterEncoding DetectEncoding(byte[] buffer, int size)
|
||||
{
|
||||
// First check if we have a BOM and return that if so
|
||||
var encoding = CheckBom(buffer, size);
|
||||
CharacterEncoding encoding = CheckBom(buffer, size);
|
||||
if (encoding != CharacterEncoding.None)
|
||||
{
|
||||
return encoding;
|
||||
|
||||
Reference in new issue
Block a user