In fact this is what I did. Initially this solution did not seem to work, then after a second try it did work.
In the meantime I discovered the computer had switched to Italian typewriter keyboard, a setting I never used as it is extremely unusual for us, a heritage from many years ago.
I discovered this logging into the "guest" account.
Another thing I added was the possibility to choose the keyboard layout at login in the upper right corner of the screen.
After adjusting this setting, the computer worked again as it did in the past.
The bottomline is that I did not understand why the system suddenly did not work. That scared me, of course as I could understand nothing. Finally I applied some kind of correction as suggested in the Apple support and by your answer and now everything works fine. FOr sure if I have this problem again, I will know how to solve it.
I would be thankful if you had any comment on this.
Thanks a lot.
Cheers
Giorgio
Giorgio