Follow the advice from the following link.
https://www.techwalla.com/articles/how-to-type-french-accent-marks-in-microsoft-word
I've just tried it with my SP4 and it works absolutely fine (even if it is a rather slow process when typing, although that's probably because I don't do it regularly)