mirror of
https://github.com/jellyfin/jellyfin-plugin-anidb.git
synced 2024-11-23 05:49:41 +00:00
Merge pull request #19 from jellyfin/NormalizationForm
This commit is contained in:
commit
04160e9c31
@ -104,7 +104,7 @@ namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Identity
|
||||
internal static string GetComparableName(string name)
|
||||
{
|
||||
name = name.ToLowerInvariant();
|
||||
name = name.Normalize(NormalizationForm.FormKD);
|
||||
name = name.Normalize(NormalizationForm.FormC);
|
||||
var sb = new StringBuilder();
|
||||
foreach (var c in name)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user