New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'ascii' codec can't encode character '\u2014' #30
Comments
Works fine for me:
Which version are you using? What's your terminal emulator? |
Tested successfully with AltYo, Terminator, xfce4-terminal, xterm. |
It seems it was a locale issue.
Thanks |
Thank you for confirming! |
for |
Hello,
When I add bookmarks, sometimes I get this error, and the entry is invalid
$ buku -a https://medium.com/@Spurrya/20-pcb-tips-and-tricks-47b95a4ba706#.4ksvpq9hi
297. https://medium.com/@Spurrya/20-pcb-tips-and-tricks-47b95a4ba706#.4ksvpq9hi
EXCEPTION [add_bookmark]: (UnicodeEncodeError) 'ascii' codec can't encode character '\u2014' in position 37: ordinal not in range(128)
dstoica@pentoo ~ $
$ buku -s ''
297. https://medium.com/@Spurrya/20-pcb-tips-and-tricks-47b95a4ba706#.4ksvpq9hi [297]
Traceback (most recent call last):
File "/usr/local/bin/buku", line 1466, in
bdb.searchdb(args.sany, False, jsonOutput)
File "/usr/local/bin/buku", line 402, in searchdb
prompt(results)
File "/usr/local/bin/buku", line 891, in prompt
print_record(row, count)
File "/usr/local/bin/buku", line 931, in print_record
print(' \x1B[91m>\x1B[0m %s' % row[2])
UnicodeEncodeError: 'ascii' codec can't encode character '\u2014' in position 37: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: