I just realized that dead keys are not working if my keyboard is set to "English (International AltGr dead keys)", but it is working with the keyboard set to "English (US, international with dead keys)".
I just realized that dead keys are not working if my keyboard is set to "English (International AltGr dead keys)", but it is working with the keyboard set to "English (US, international with dead keys)".