mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 19:54:20 +00:00
parent
a358631040
commit
321c440739
46 changed files with 81 additions and 94 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue