The European Portuguese keyboard layout doesn't have/use the ' ? ' even tho it uses a QWERTY style layout ... try installing the Brazilian Portuguese keyboard layout as well as the EP layout. It at least has all the letters of the alphabet in the right place if you using a European keyboard ... Don't even try it with that silly English US keyboard, they can't even speak English, IMHO.
How to change the keyboard layout
If all that fails, try holding down the 'alt' key and typing 63 (ALT+63), that should work on any keyboard layout ... is loosely called the ASCII character code set.
welcome to PCReview