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 = ’ ’
event.clearEvents(‘keyboard’)
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
else:
if modify:
text.text = text.text + keys[0].upper()
modify = False
else:
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.