From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: dash@vger.kernel.org
Subject: dash breaks u0441
Date: Thu, 17 Feb 2011 01:25:38 +0300 [thread overview]
Message-ID: <4D5C4EE2.9060504@gmail.com> (raw)
Greetings!
dash breaks cyrillic_small_letter_es (U+0441) in UTF8 encoding:
$ /usr/bin/printf '[\u0441]\n'
[с]
$ /usr/bin/printf '[\u0441]\n' |dash -c 'read c; echo "$c"'
[Ñ]
But the characters around are displayed correctly:
$ /usr/bin/printf '[\u0440]\n' |dash -c 'read c; echo "$c"'
[р]
$ /usr/bin/printf '[\u0442]\n' |dash -c 'read c; echo "$c"'
[т]
$ /usr/bin/printf '[\u0451]\n' |dash -c 'read c; echo "$c"'
[ё]
0d7d66039b614b642c775432fd64aa8c11f9a64d was good.
55c46b7286f5d9f2d8291158203e2b61d2494420 is bad.
49a94e2bab1e4f601a9fbdf9615d9e4e0150e412 is bad too.
--
Rgrds, legion
next reply other threads:[~2011-02-16 22:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-16 22:25 Alexey Gladkov [this message]
2011-02-24 11:43 ` [PATCH] [BUILTIN] Fix corruption of reads with byte 0x81 Alexey Gladkov
2011-03-10 13:01 ` Herbert Xu
2011-03-11 0:04 ` Jilles Tjoelker
2011-03-11 3:40 ` Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D5C4EE2.9060504@gmail.com \
--to=gladkov.alexey@gmail.com \
--cc=dash@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.