mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[QuickAccent] Fixed ß uppercase bug (#20356)
This commit is contained in:
@@ -179,7 +179,14 @@ public class PowerAccent : IDisposable
|
||||
char[] result = new char[array.Length];
|
||||
for (int i = 0; i < array.Length; i++)
|
||||
{
|
||||
result[i] = char.ToUpper(array[i], System.Globalization.CultureInfo.InvariantCulture);
|
||||
if (array[i] == 'ß')
|
||||
{
|
||||
result[i] = 'ẞ';
|
||||
}
|
||||
else
|
||||
{
|
||||
result[i] = char.ToUpper(array[i], System.Globalization.CultureInfo.InvariantCulture);
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user