I seem to have the same problem... It seems to be that Blockland (or an add-on) messes with the Keyboard Configurations of Non-US keyboards... and tries to make them US setting... So screwing with lots of the punctuation. I have found no fix for this... If you want to type stuff into console... use the seperate screen console (like DOS prompt). As for punctuation, all I can recommend is typing into something else then copy + pasting :3
Please correct me if I am wrong..