> However, if a password contains any control characters or non-ASCII
> (8-bit) characters, there may be problems entering it in certain
> contexts.
If a password contains non-ASCII characters, the encoding used when
entering a password must match the encoding which was used when the
password was set. E.g. if you set your password from a terminal which
uses ISO-8859-1, then try to enter it in a GDM dialog which uses
UTF-8, the password won't be recognised.
--
Glynn Clements <glynn (at) gclements.plus (dot) com [email concealed]>
Dwayne Ghant wrote:
> What about unicode charectors in passwords.
A password is a string of bytes, not characters.
As I wrote previously:
> However, if a password contains any control characters or non-ASCII
> (8-bit) characters, there may be problems entering it in certain
> contexts.
If a password contains non-ASCII characters, the encoding used when
entering a password must match the encoding which was used when the
password was set. E.g. if you set your password from a terminal which
uses ISO-8859-1, then try to enter it in a GDM dialog which uses
UTF-8, the password won't be recognised.
--
Glynn Clements <glynn (at) gclements.plus (dot) com [email concealed]>
[ reply ]