And BTW, the en_US.UTF-8 locale is not necessarily built on the machine. Better use the locale-neutral C.UTF-8 Samuel Use C.UTF-8 locale instead of en_US.UTF-8 Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 203668e..6a77df4 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -920,7 +920,7 @@ static void termio_init(struct options *op, struct termios *tp) mode = K_RAW; switch(mode) { case K_UNICODE: - setlocale(LC_CTYPE, "en_US.UTF-8"); + setlocale(LC_CTYPE, "C.UTF-8"); op->flags |= F_UTF8; break; case K_RAW: -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html