← index #18887Issue #16142
Off-topic · high · value 4.187
QUERY · ISSUE

Utf8-Issue

openby tomhauffopened 2026-03-03updated 2026-03-04
bugunicode

Port, board and/or hardware

ESP32 WROOM

MicroPython version

MicroPython v1.27.0 on 2025-12-09; Generic ESP32 module with ESP32 Python 3.14.3 mpremote 1.27.0 . Issue: python3 -X utf8 -m mpremote exec "print('ü')" locks up in Windows 10 with all terminals and all codepages.

Reproduction

python3 -X utf8 -m mpremote exec "print('ü')" locks up on all terminals and all codepages in Windows 10. It works in Thonny, so it is a mpremote issue.

Expected behaviour

python3 -X utf8 -m mpremote exec "print('ü')" locks up on all terminals and all codepages in Windows 10. It works in Thonny, so it is a mpremote issue.

Observed behaviour

locks um in case of "ü" to be printed to the repl.

Additional Information

No, I've provided everything above.

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

mpremote: unable to execute fs commands - mpremote.transport.TransportError: could not enter raw repl

openby maxpopened 2024-11-03updated 2025-10-27
bugtools

Port, board and/or hardware

esp32 wroom

MicroPython version

MicroPython v1.23.0 on 2024-06-02; Generic ESP32 module with ESP32
mpremote 1.24.0

Reproduction

mpremote fs ls failed with
mpremote.transport.TransportError: could not enter raw repl

Expected behaviour

expected

mpremote fs ls
ls :
           0 mrequests/

Observed behaviour

b'MicroPython v1.23.0 on 2024-06-02; Generic ESP32 module with ESP32\r\nType "help()" for more information.\r\n>>> '
Traceback (most recent call last):
  File "/opt/homebrew/bin/mpremote", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/mpremote/main.py", line 538, in main
    handler_func(state, args)
  File "/opt/homebrew/lib/python3.11/site-packages/mpremote/commands.py", line 294, in do_filesystem
    state.ensure_raw_repl()
  File "/opt/homebrew/lib/python3.11/site-packages/mpremote/main.py", line 480, in ensure_raw_repl
    self.transport.enter_raw_repl(soft_reset=soft_reset)
  File "/opt/homebrew/lib/python3.11/site-packages/mpremote/transport_serial.py", line 139, in enter_raw_repl
    raise TransportError("could not enter raw repl")
mpremote.transport.TransportError: could not enter raw repl

Additional Information

My temporary workaround is additional time.sleep(1) at line
https://github.com/micropython/micropython/blob/0e490b7c8f32bb72c516985abe67147b9385dc34/tools/mpremote/mpremote/transport_serial.py#L125
before flush input.

Code of Conduct

Yes, I agree

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied