mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Use normalization before replacing symbols.
This commit is contained in:
parent
8dab9407ad
commit
1353e591b8
1 changed files with 1 additions and 2 deletions
|
|
@ -160,9 +160,8 @@ public partial class Mod
|
|||
{
|
||||
return replacement + replacement;
|
||||
}
|
||||
|
||||
StringBuilder sb = new(s.Length);
|
||||
foreach( var c in s )
|
||||
foreach( var c in s.Normalize(NormalizationForm.FormKC) )
|
||||
{
|
||||
if( c.IsInvalidAscii() || c.IsInvalidInPath() )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue