Hello and welcome.
It sounds like more of a software than hardware issue, since it happens on multiple keyboards. There may be some form of System Preferences... > Keyboard settings or key mapping set. Also, check to make sure the language is set properly in System Preferences... > Keyboard > Input Sources.
We'll see if we can figure this out,
C