Compiling to HTML: UnicodeDecodeError

Hi All,

I’m trying to compile an experiment to HTML but I’m getting the following error:

===============================================
Traceback (most recent call last):
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\builder.py”, line 1696, in fileExport
target=“PsychoJS”)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\app\builder\builder.py”, line 2247, in generateScript
target=target)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\experiment_experiment.py”, line 146, in writeScript
self.psychopyVersion, localDateTime)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\experiment\components\settings_init_.py”, line 469, in writeInitCodeJS
buff.write(header)
File “C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\experiment\exports.py”, line 79, in write
io.StringIO.write(self, u"{}".format(text))
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc2 in position 1486: ordinal not in range(128)

============================================

Any suggestions for a fix?

Thanks,

George

PsychoPy 1.90.1, Windows.