DASH Shell discussions
 help / color / mirror / Atom feed
From: Jilles Tjoelker <jilles@stack.nl>
To: Alkis Georgopoulos <alkisg@gmail.com>
Cc: dash@vger.kernel.org
Subject: Re: Some utf-8 characters are cut in the middle on redirections
Date: Sun, 8 Aug 2010 14:21:28 +0200	[thread overview]
Message-ID: <20100808122128.GB83441@stack.nl> (raw)
In-Reply-To: <1281211542.6631.49.camel@alkis>

On Sat, Aug 07, 2010 at 11:05:42PM +0300, Alkis Georgopoulos wrote:
> $ touch ??
> $ echo 1 > ??
> $ ls
> ?  ??
> $ ls | hexdump -C
> 00000000  cf 0a cf 81 0a

> dash "cut" the "0x81" from the "0xcf81" representation of the Greek
> character rho, and so it created another file named "0xcf".

> This only happens for a few utf-8 characters, not for all of them.
> Relevant bug report:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532302

This bug is fixed in git commit f8231aea37e921492fc7fbd972385ab5b90e8627
which is not in any dash release yet.

The patch should apply to older dash versions also.

-- 
Jilles Tjoelker

  reply	other threads:[~2010-08-08 12:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-07 20:05 Some utf-8 characters are cut in the middle on redirections Alkis Georgopoulos
2010-08-08 12:21 ` Jilles Tjoelker [this message]
2010-08-08 12:42   ` Alkis Georgopoulos

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=20100808122128.GB83441@stack.nl \
    --to=jilles@stack.nl \
    --cc=alkisg@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox