Accents work on windows but not in mac

Hello, I'm doing a game in unity and I want to be able to write accents in the TextArea and in the TextField, but it seems it does not work accents in a mac but i works in a windows.

It's kind of wierd because if I add manually accents in the string ( string s = "..."; ) it's show properly but if I try to enter them manually I can't (only in a mac).

Can somebody help me?

Thank you!

This question has been asked before. See here.