← index #2789Issue #3278
Related · medium · value 0.114
QUERY · ISSUE

Interactive REPL does not support unicode/utf8

openby peterhinchopened 2017-01-13updated 2025-08-26
enhancementunicode

Copy the following and paste it at the REPL:

z = 'ÇØĚ'

In paste mode it works, but not at the REPL prompt where the string contents disappears.

CANDIDATE · ISSUE

cut & paste into repl swallows '-'

closedby fluffymcpuffinopened 2017-08-18updated 2017-08-19

MicroPython v1.9.1-399-g40ae6724 running on an ESP32
when i cut 10/5 - 20/10 from my editor and paste it into repl all is good.
but when i cut (x/5) – (y/10) and paste it into repl the minus sign has dissapeared.
all works well under python3 in terminal mode.

MicroPython v1.9.1-399-g40ae6724 on 2017-08-15; ESP32 module with ESP32

x,y = 10,20
10/5 - 20/10
0.0
(x/5) (y/10)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'float' object is not callable

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