Long utf-8 characters
Charlie Brej
plymouth at brej.org
Mon Jul 13 09:26:04 PDT 2009
Passwords with long characters are failing because the multi-byte character
functions rely on the locale. So I tried setting the locale but then that fails
because libc wants to have /usr/lib mounted to read the locale info and that's
difficult when typing the password to decrypt / . The file it wants is 80Mb so
too large to have in the initrd.
The only way I can see of getting through this is to use our own utf-8 char and
string length functions. Attached is a patch. Does this seem sane or is there a
better way?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: utf.patch
Type: text/x-patch
Size: 4994 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/plymouth/attachments/20090713/c12c8e66/attachment.bin
More information about the plymouth
mailing list