Accentuation problem in the office aplications

Hi, everybody.
I use Ubuntu 20.04 and I also use Softmaker Office suite and Libreoffice, but I have a problem about accentuation in both of them. When type it gets like this, for example: resume’ (the letter and the accent get separated). I don’t have the same problem with other apps that need typing, for example browser, searches, etc.

P. S.: I’m from Brazil.