Hi, I managed to fix it.
I set the language to US and the keyboard to US international.
I don’t know why it wouldn’t work before as i had the language set to US. I guess that i have to define the correct keyboard on my computer manually.
Thank you for the quick replies.