Accents in Text Input

Can anyone help? I have the same problem with an experiment in French. I know the keyboard component works differently in the new version of PsychoPy, so we need to use the new script @dvbridges is talking about here Displaying Typed Words on Screen during a Routine, but I can’t seem to be able to adapt it in order to for it to accept accents as the old script did in older versions of PsychoPy.

Thank you,

Marie