micropython / micropython/micropython
Interactive REPL does not support unicode/utf8
Open
Nobody has claimed this yet.
enhancement
unicode
- Dominant language
- C
- Stars
- 22.1k
- Forks
- 9k
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 16
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue at the interactive REPL with the provided Python assignment, then compare its input handling with paste mode. Trace the REPL input path responsible for losing the Unicode string contents; done means the same input works at the prompt and the existing paste-mode behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- cli, embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100