diff --git a/BencodeNET/Torrents/TorrentParser.cs b/BencodeNET/Torrents/TorrentParser.cs index 8211f0001..6df8d2f9e 100644 --- a/BencodeNET/Torrents/TorrentParser.cs +++ b/BencodeNET/Torrents/TorrentParser.cs @@ -237,7 +237,7 @@ protected virtual MultiFileInfoList ParseMultiFileInfo(BDictionary info, Encodin var list = new MultiFileInfoList { DirectoryName = info.Get(TorrentInfoFields.Name)?.ToString(encoding), - DirectoryNameUtf8 = info.Get(TorrentInfoFields.NameUtf8)?.ToString(encoding) + DirectoryNameUtf8 = info.Get(TorrentInfoFields.NameUtf8)?.ToString(Encoding.UTF8) }; var fileInfos = info.Get(TorrentInfoFields.Files).Cast()