DASH Shell discussions
 help / color / mirror / Atom feed
* Some utf-8 characters are cut in the middle on redirections
@ 2010-08-07 20:05 Alkis Georgopoulos
  2010-08-08 12:21 ` Jilles Tjoelker
  0 siblings, 1 reply; 3+ messages in thread
From: Alkis Georgopoulos @ 2010-08-07 20:05 UTC (permalink / raw)
  To: dash

$ 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

Please CC me if possible, I'm not on the list.

Kind regards,
Alkis Georgopoulos


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Some utf-8 characters are cut in the middle on redirections
  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
  2010-08-08 12:42   ` Alkis Georgopoulos
  0 siblings, 1 reply; 3+ messages in thread
From: Jilles Tjoelker @ 2010-08-08 12:21 UTC (permalink / raw)
  To: Alkis Georgopoulos; +Cc: dash

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Some utf-8 characters are cut in the middle on redirections
  2010-08-08 12:21 ` Jilles Tjoelker
@ 2010-08-08 12:42   ` Alkis Georgopoulos
  0 siblings, 0 replies; 3+ messages in thread
From: Alkis Georgopoulos @ 2010-08-08 12:42 UTC (permalink / raw)
  To: Jilles Tjoelker; +Cc: dash

Στις 08-08-2010, ημέρα Κυρ, και ώρα 14:21 +0200, ο/η Jilles Tjoelker
έγραψε:
> This bug is fixed in git commit f8231aea37e921492fc7fbd972385ab5b90e8627
> which is not in any dash release yet.

Thank you, I commented about the fix in Debian bug #532302 and in LP
#382541.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-08 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-08-08 12:42   ` Alkis Georgopoulos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox