maguowei/starred

UnicodeEncodeError

pramitbiswas opened this issue · 1 comments

(githubStarred) ...\githubStarred>starred --username pramitbiswas --sort > README.md
Traceback (most recent call last):
File "...\python36\Lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "...\python36\Lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "...\githubStarred\githubStarred\Scripts\starred.exe_main
.py", line 9, in
File "...\githubstarred\githubstarred\lib\site-packages\click\core.py", line 716, in call
return self.main(*args, **kwargs)
File "...\githubstarred\githubstarred\lib\site-packages\click\core.py", line 696, in main
rv = self.invoke(ctx)
File "...\githubstarred\githubstarred\lib\site-packages\click\core.py", line 889, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "...\githubstarred\githubstarred\lib\site-packages\click\core.py", line 534, in invoke
return callback(*args, **kwargs)
File "...\githubstarred\githubstarred\lib\site-packages\starred.py", line 89, in starred
click.echo(data)
File "...\githubstarred\githubstarred\lib\site-packages\click\utils.py", line 259, in echo
file.write(message)
File "...\githubstarred\githubstarred\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode characters in position 105-112: character maps to

#17 this may help.