Hi, I'm starting using password-store on Mac OS X.

But Japanese characters is not available when execute "pass list" and "pass
search".
For example, error has occured below.

% pass list
Password Store
├── Adobe
├── Airbnb
sed: RE error: illegal byte sequence

% ls ~/.password-store/ドトール.gpg
/Users/jiro/.password-store/ドトール.gpg
% pass search ドトール
Search Terms: ドトール
%

First error of pass list is because of non printable character is not
treated by tree command.
So, added "-N" option of tree command.

Second error of pass search is because of utf-8 NFD file name. Mac OS treat
file name character encoding is utf-8 NFD.
So, converted input argument from UTF-8 to UTF-8-MAC.

I attach the patch file.
Please take it.

Regards.

Attachment: japanese_character.patch
Description: Binary data

_______________________________________________
Password-Store mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/password-store

Reply via email to