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

Andrey Skvortsov andrej.skvortzov at gmail.com
Thu Apr 30 13:41:59 PDT 2015


On 28 Apr, Richard Weinberger wrote:
> On Tue, Apr 28, 2015 at 10:54 PM, Andrey Skvortsov
> <andrej.skvortzov at gmail.com> 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 at gmail.com>
> 
> 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20150430/845e0d41/attachment.sig>


More information about the linux-mtd mailing list