Can't use with out of range(128) characters
See original GitHub issueI was using a branch with �
in the name. When I git push
I correct it so that it’ll push with the git suggested prompt. It doesn’t work.
Traceback (most recent call last):
File "/usr/local/Cellar/thefuck/3.1/libexec/bin/thefuck", line 9, in <module>
load_entry_point('thefuck==3.1', 'console_scripts', 'thefuck')()
File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/main.py", line 77, in main
fix_command()
File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/main.py", line 28, in fix_command
selected_command = select_command(corrected_commands)
File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/ui.py", line 106, in select_command
logs.confirm_text(selector.value)
File "/usr/local/Cellar/thefuck/3.1/libexec/lib/python2.7/site-packages/thefuck/logs.py", line 61, in confirm_text
blue=color(colorama.Fore.BLUE)))
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 36: ordinal not in range(128)
Issue Analytics
- State:
- Created 8 years ago
- Comments:20 (10 by maintainers)
Top Results From Across the Web
'ascii' codec can't encode character : ordinal not in range (128)
this error may means that data is not in UTF-8 but in other encoding - ie, Latin1 , CP1250 . · Python keeps...
Read more >UnicodeEncodeError 'ascii' 'ordinal not in range(128)'
- use .encode() or .decode() function but I get a very annoying message: An error occurred while processing the action acknowledgement.
Read more >'ascii' codec can't encode character '\ufffd' in position 94 ...
Insights-client throwing error "UnicodeEncodeError: 'ascii' codec can't encode character '\ufffd' in position 94: ordinal not in range(128)" ...
Read more >Query to find rows containing ASCII characters in a given range
Unfortunately, I often need to find characters within (or outside of) a range in databases I can't create stored procedures in. I'd really...
Read more >Ordinal Not in Range – Runbooks - GitHub Pages
This issue happens when Python can't correctly work with a string ... encode character u'\xa1' in position 0: ordinal not in range(128).
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 FreeTop 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
Top GitHub Comments
@scorphus works nice now.
@lovedboy: Any update on this?