grahamking / kip

Command line script to keep usernames/passwords in gnupg encrypted text files.
GNU General Public License v3.0
23 stars 6 forks source link

Better unicode handling in --notes " éà^e" #18

Closed yml closed 11 years ago

yml commented 11 years ago

Everytime I use unicode char in --notes kip is raising an error out. I don't think we need the unicode encoding/decoding dance in python 3

Here it is a command that is causing issue :

kip add yml_test --username 'yml' --notes "éàu"
grahamking commented 11 years ago

Sorry Yann, I completely forgot about this!

I had to revert 8792776 as I was getting "TypeError: 'str' does not support the buffer interface" in cli.py line 301.

Are you sure you're on python3? You need to install it like "sudo python3 setup.py install". I can replicate the error on python2 but not 3.