MacOS terminal: `login: illegal option -- s`

Screen Shot 2022-04-07 at 5.57.14 PM
Mac OS
As soon as I open the terminal it shows this.

Does your account name start with a “-”?

no, my account name is my Chinese name

The macOS terminal does not support unicode characters in usernames for some reason, so it cannot handle chinese characters.

The only solution we have found so far is to have another user that only contains letters from the standard english alphabet, that user should be able to open a terminal just fine.

If anyone has any other solution, we would like to hear it.

1 Like