I found this answer from @George on StackOverflow but it doesn’t work for me:
I’m on Linux using a Portuguese Layout that uses “dead keys”(?) like “backtick” + a to make à or “acute” + e to make é.
Thank you so much, as usual @GoToLoop to the rescue!!!