Re: [PATCH] jffs2: fix UTF-8 character in pr_info

From: Andrey Skvortsov
Date: Thu Apr 30 2015 - 16:42:12 EST


On 28 Apr, Richard Weinberger wrote:
> On Tue, Apr 28, 2015 at 10:54 PM, Andrey Skvortsov
> <andrej.skvortzov@xxxxxxxxx> wrote:
> > Boot log contained string:
> > jffs2: version 2.2. \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
> >
> > non-ASCII characters are printed in HEX. 0xC2A9 is copyright sign in UTF-8.
> > This patch replace it with '(c)' to make boot log readable.
> >
> > Signed-off-by: Andrey Skvortsov <andrej.skvortzov@xxxxxxxxx>
>
> FYI
> http://lists.infradead.org/pipermail/linux-mtd/2013-April/046591.html

Richard,
thank you for the link.

My problem was actually missing utf-8 locale on the embedded board.
Now dmesg prints this string correct.

--
Best regards,
Andrey Skvortsov

Secure e-mail with gnupg: See http://www.gnupg.org/
PGP Key ID: 0x57A3AEAD


Attachment: signature.asc
Description: Digital signature