Japanese character file name is not available

Jiro Iwamoto jirokun at gmail.com
Thu Sep 21 17:07:44 CEST 2017


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170922/136b4710/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: japanese_character.patch
Type: application/octet-stream
Size: 1239 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/password-store/attachments/20170922/136b4710/attachment-0001.obj>


More information about the Password-Store mailing list