Korea language unicode

Hello, it doesn’t work with Pavlovia regarding Korean language.
Participants look at the question, press the space bar, and enter a response. At this time, the Korean response works well in the Psychoopy program. However, if you synchronize with Pavlovia, you will not be able to enter Korean. From what I found out, it is a coding problem for multibyte languages such as Korean, Chinese, and Japanese. In other words, if you enter a Korean response, it will only be entered as an alphabet. For example, if you press ‘a’, the Korean word ‘ㅁ’ should appear, but ‘a’ is entered.
Is there anyone who can solve the Korean input response?

In the Begin Routine tab, the code is
modify = False
text.text = ’ ’

The Each Frame code is
keys = event.getKeys()
if len(keys):
if ‘space’ in keys:
text.text = text.text + ’ ’
elif ‘backspace’ in keys:
text.text = text.text[:-1]
elif ‘lshift’ in keys or ‘rshift’ in keys:
modify = True
elif ‘return’ in keys:
continueRoutine = False
if modify:
text.text = text.text + keys[0].upper()
modify = False
text.text = text.text + keys[0]

The End Routine code is:
thisExp.addData(“typedWord”, text.text)

I’d appreciate it if anyone could help me.

Have you tried using an editable TextBox component rather than coding text editing manually?

No, I haven’t tried that part. This is because there is a lack of understanding of coding and Psychoppy programs. But I’ll have to find that part and try it. Could you share a link to how to use the Textbox component?

Thank you.

It works more or less the same as a TextStim, it just has a Size as well as a Position (determines how big the box is for text wrapping) and has a tickbox for being “editable”. If you’re using 2020.2.0 or newer then you should be able to see it in the Components panel.