Hi !
I have installed AEScrypt on my macbook air M1 (macOS Ventura), it is working good, only for one thing : if the password I enter contains a character like "é" it will send me this error "invalid byte sequence". I think this has to do with the encoding language ? How can I fix this ?
"invalid byte sequence" error on mac M1
- paulej
- Posts: 593
- Joined: Sun Aug 23, 2009 7:32 pm
- Location: Research Triangle Park, NC, USA
- Contact:
Re: "invalid byte sequence" error on mac M1
Quite possibly the character conversion logic is broken. Characters must be converted from the input language into UTF-16LE. I'm not sure if the issue is related to Apple Script or the aescrypt binary itself.
You could test that by running the aescrypt command from the command line, if you know how.
You could test that by running the aescrypt command from the command line, if you know how.
Re: "invalid byte sequence" error on mac M1
Well I thought I knew how to do this, but after trying, I can say that its not the case
- paulej
- Posts: 593
- Joined: Sun Aug 23, 2009 7:32 pm
- Location: Research Triangle Park, NC, USA
- Contact:
Re: "invalid byte sequence" error on mac M1
It's hard to explain if you don't know how. But, it works exactly the same way as on Linux.
I'll try to have a look at this myself, but I'm a bit busy at the moment. For now, I'd suggest just using only ASCII characters.
I'll try to have a look at this myself, but I'm a bit busy at the moment. For now, I'd suggest just using only ASCII characters.
Re: "invalid byte sequence" error on mac M1
Okay, thank you for the answer! I'll try some things