FIXED: Utf-8 disabled on performance mode

Hi!
I just discovered if printed something to textport and in performance mode
the printed output not utf-8 compilant, when in “edit” mode all works as expected.


To replicate:

  • create a timerCHOP
  • set length to 3 sec.
  • enable Cycle
  • disable Cycle Limit
  • enable Cycle Pulse on Outputs page
  • add chopexecDAT
  • set CHOPs to timer1
  • set Channel to cycles_pulse
  • enable Off to On
  • on onOffToOn function enter: print(‘Árvíztűrő tükörfúrógép’)
  • start timer
  • wait… on textport printed the sentence corerctly
  • BUT
  • if you enter performance mode (press F1) and wait few seconds
    and then go back to “normal” mode the textport shows: ÁrvíztűrÅ‘ tükörfúrógép

Thanks for the report. I was able to reproduce the issue after a little experimenting. I don’t think it’s specifically tied to the performance mode, but rather on whether the textport is open or not when the print statement is called.

If you you close the textport for a few updates and then re-open it you can see that any prints made while it was closed are incorrect.

I’ve made a bug report here and we will look into it further.

This issue has been fixed now and will be released in an upcoming update.

1 Like