UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 0: invalid continuation byte
See original GitHub issueI do not know much about character encoding, and that’s perhaps why I can’t give out much details, but typing the characters ˆø several times in continuation exits the program with the following error-
Super sorry, something went very wrong.
Please create a New Issue and paste this info there.
Traceback (most recent call last):
File "/opt/ci_edit/app/ci_program.py", line 524, in wrapped_ci
prg.run()
File "/opt/ci_edit/app/ci_program.py", line 461, in run
self.commandLoop()
File "/opt/ci_edit/app/ci_program.py", line 245, in commandLoop
u = bytes_to_unicode((ch, b))
File "/opt/ci_edit/app/ci_program.py", line 29, in bytes_to_unicode
return bytes(values).decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 0: invalid continuation byte
System details-
Terminal details-
Also, is this error, in any way, related to #133?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
UnicodeDecodeError, invalid continuation byte - Stack Overflow
Then the error is displaying like this :- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 1: invalid continuation byte.
Read more >UnicodeDecodeError: 'utf-8' codec can't decode byte in position
The Python "UnicodeDecodeError: 'utf-8' codec can't decode byte in position: invalid continuation byte" occurs when we specify an incorrect encoding when ...
Read more >UnicodeDecodeError: 'utf-8' codec can't decode byte [...] in ...
In this blog post, we're solving UnicodeDecodeError: 'utf-8' codec can't decode byte […] in position […]: invalid continuation byte. Important, ...
Read more >`UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in ...
Encoding error : UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 2: invalid continuation byte #976.
Read more >How to resolve a UnicodeDecodeError for a CSV file - Kaggle
_string_box_utf8() UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcc in position 1: invalid continuation byte During handling of the above exception, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks again,
I know that filing a bug takes some time/effort. This was an issue I didn’t know about and was it is important to address it. If something fails in the future, please feel welcome to let me know.
A fix has been submitted. Please try again without
--singleThread
.Thanks! That was the piece I was missing. I can see the crash now, I’ve started on a fix.
As a temporary workaround, you cold pass
--singleThread
towe
. E.g.we --singleThread <some_file>
. That will make ci_edit not as quick (using multiple threads makes ci_edit snappier). I hope to have a fix soon.