mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 20:57:22 +02: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];
|
char[] result = new char[array.Length];
|
||||||
for (int i = 0; i < array.Length; i++)
|
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;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user