Messages in this thread | | | From | Andrey Skvortsov <> | Date | Thu, 30 Apr 2015 23:41:59 +0300 | Subject | Re: [PATCH] jffs2: fix UTF-8 character in pr_info |
| |
On 28 Apr, Richard Weinberger wrote: > On Tue, Apr 28, 2015 at 10:54 PM, Andrey Skvortsov > <andrej.skvortzov@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@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
[unhandled content-type:application/pgp-signature] | |