mirror of
https://github.com/jellyfin/jellyfin-plugin-anidb.git
synced 2024-11-26 23:50:26 +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)
|
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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user