Purse icon indicating copy to clipboard operation
Purse copied to clipboard

tr: Illegal byte sequence

Open rwitlmarkf opened this issue 2 years ago • 2 comments

I tried to use purse.sh and found that it was giving an error "tr: Illegal byte sequence"

Inspecting the code I see it was happening when using /dev/urandom to select a filename for the stored data in the purse. Google helped me find https://unix.stackexchange.com/questions/45404/why-cant-tr-read-from-dev-urandom-on-osx which helped me understand I needed an LC_ALL=C added to the script to override my default LANG.

Thanks for your tutorials/notes - I found them very helpful.

rwitlmarkf avatar Aug 13 '22 07:08 rwitlmarkf

Can you try it now that https://github.com/drduh/Purse/pull/3 is merged? Thanks!

drduh avatar Aug 21 '22 18:08 drduh

Yes. That works. Thanks.

rwitlmarkf avatar Aug 21 '22 20:08 rwitlmarkf