This fixes T93051, T76405 and maybe others.
Characters like '²', '<' are not recognized in Blender's shortcut keys.
And sometimes simple buttons like . and / on the Windows
keyboard, although the symbol is "known", Blender also doesn't
detect for shortcuts.
For Windows, some of the symbols represented in the VK_OEM_[1-8] values,
depending on the language, are not mapped by Blender.
See https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes.
On Mac there is a fallback reading the "actual character value of the
'remappable' keys". Sometimes the character is not mapped either.
On Windows, the solution now mimics the Mac and tries to read the button's
character as a fallback.
For unmapped characters ('²', '<', '\''), now another value is chosen as a
substitute.
Ref T93051