How do I add/retrieve a password that contains £
using security add-generic-password
and security find-generic-password
?
security add-generic-password -a username -s "test" -w abc -U
security find-generic-password -a username -s "test" -w # output: abc
security add-generic-password -a username -s "test" -w abc£ -U
security find-generic-password -a username -s "test" -w # output: 616263c2a3
Best Answer
As a workaround, I now encode and decode to base64: