Merge pull request #19 from jellyfin/NormalizationForm

This commit is contained in:
Cody Robibero 2022-03-19 12:17:38 -06:00 committed by GitHub
commit 04160e9c31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ namespace Jellyfin.Plugin.AniDB.Providers.AniDB.Identity
internal static string GetComparableName(string name) internal static string GetComparableName(string name)
{ {
name = name.ToLowerInvariant(); name = name.ToLowerInvariant();
name = name.Normalize(NormalizationForm.FormKD); name = name.Normalize(NormalizationForm.FormC);
var sb = new StringBuilder(); var sb = new StringBuilder();
foreach (var c in name) foreach (var c in name)
{ {