diff --git a/src/wincompose/Composer.cs b/src/wincompose/Composer.cs index 3fa1a9ef..ea55b232 100644 --- a/src/wincompose/Composer.cs +++ b/src/wincompose/Composer.cs @@ -165,7 +165,7 @@ private static bool OnKeyInternal(WM ev, VK vk, SC sc, LLKHF flags) { Key alt_key = KeyboardLayout.VkToKey(vk, sc, flags, has_shift, has_altgr, false); - if (alt_key.IsPrintable && alt_key.PrintableResult[0] > 0x7f) + if (alt_key.IsPrintable && alt_key.PrintableResult[0] > 0xbf) { string str_upper = alt_key.PrintableResult.ToUpper(); string str_lower = alt_key.PrintableResult.ToLower();