logging non-latin text (utf-8 support)
in OpenSesame
Hi.
I'm trying to log participants' open questions responses, written in Hebrew using the regular logger, but it produces gibbrish, probably due to encoding issues. I succeeded to log these responses separately in a text file using python regular text editing functions and utf-8 encoding with no problem. Is there any way to get the logger to do the same thing?
Thanks ahead!
Isaac.
Comments
Hi Isaac,
The
loggeruses utf-8 encoding as well. Are you sure that you didn't simply open the logfile with the wrong encoding? Many programs try to autodetect the encoding, or simply use the operating system's default, which for Windows isn't utf-8.If that's not it, feel free to upload the experiment and logfile here so that I can take a look.
Cheers,
Sebastiaan
Check out SigmundAI.eu for our OpenSesame AI assistant!