Serial monitor cracks up with error

Running debian 9 stretch amd64.

Bombed a diymore.cc ESP32 board with whitecatboard/Lua-RTOS-ESP32 from shell outside of platformio.

I can talk to board fine with screen from bash shell.

Jumped into platformio from visual studio code (VSC).

Changed baud rate of serial monitor to talk to device by adding the following to platformio.ini: monitor_baud = 115200

Restarted VSC to pick up baud change.

Physically reset of device sees herald messages crash the serial monitor with:

— Miniterm on /dev/ttyUSB0 115200,8,N,1 —
— Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H —
ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:3588
load:0x40078000,len:0
load:0x40078000,len:12612
entry 0x400784f0
Booting Lua RTOS…
Exception in thread rx:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 801, in __bootstrap_inner
self.run()
File “/usr/lib/python2.7/threading.py”, line 754, in run
self.__target(*self.__args, **self.__kwargs)
File “/home/asterion/.platformio/penv/local/lib/python2.7/site-packages/serial/tools/miniterm.py”, line 453, in reader
self.console.write(text)
File “/home/asterion/.platformio/penv/local/lib/python2.7/site-packages/serial/tools/miniterm.py”, line 68, in write
self.output.write(text)
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\u241b’ in position 0: ordinal not in range(128)

— exit —

Related issue Serial monitor UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 0: ordinal not in range(128) · Issue #34 · platformio/platformio-vscode-ide · GitHub

Could you try this? Does it work?

$ platformio device monitor -f printable