Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. Long utf-8 characters (Charlie Brej)


----------------------------------------------------------------------

Message: 1
Date: Mon, 13 Jul 2009 17:26:04 +0100
From: Charlie Brej <[email protected]>
Subject: Long utf-8 characters
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

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-0001.bin
 

------------------------------

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 10, Issue 2
***************************************

Reply via email to