Unicode category changed for some Latin-1 characters
Char methods now return the correct Unicode category for characters in the Latin-1 range. The category matches that of the Unicode standard.
In previous .NET versions, Char methods used a fixed list of Unicode categories for characters in the Latin-1 range. However, the Unicode standard has changed the categories of some of these characters since those APIs were implemented, creating a discrepancy. In addition, there was also a discrepancy between Char and CharUnicodeInfo APIs, which follow the Unicode standard. In .NET 5 and later versions, Char methods use and return the Unicode category that matches the Unicode standard for all characters.
The following table shows the characters whose Unicode categories have changed in .NET 5.0:
in previous .NET versions
in .NET 5 and later versions
If you have any code that gets the Unicode character category by using the Char class and assumes the category will never change, you may need to update it.
Reason for change