Why doesn't Đ get flattened to D when Removing Accents/Diacritics

后端 未结 5 1885
你的背包
你的背包 2021-01-04 01:37

I\'m using this method to remove accents from my strings:

static string RemoveAccents(string input)
{
    string normalized = input.Normalize(NormalizationFo         


        
5条回答
  •  礼貌的吻别
    2021-01-04 02:02

    "D with stroke" (Wikipedia) is used in several languages, and appears to be considered a distinct letter in all of them -- and that is why it remains unchanged.

提交回复
热议问题