Re: Some utf-8 characters are cut in the middle on redirections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux