When you are working in the MakeCode editor in a translated language (ie. not English) you will find that special characters used in strings do not appear on the micro:bit display or MakeCode simulator.
|Does not work||Works|
This is because the MakeCode software and the micro:bit hardware do not currently support displaying the full range of ASCII code characters only the characters that fall within a 'printable range' (32-127). Other characters will display as spaces, so they will not be visible on the screen.
You can find more discussion on this issue on the micro:bit runtime software repository