Re: cut (GNU coreutils) 7.6 can not worked in multi-bytes text
From:
Jim Meyering
Subject:
Re: cut (GNU coreutils) 7.6 can not worked in multi-bytes text
Date:
Wed, 28 Oct 2009 12:41:50 +0100
ć¶‚éť’ wrote:
> Dear bug-coreutils:
> cut (GNU coreutils) 7.6 can not work well in multi-bytes text
...
> address@hidden smsuser]# echo "ä¸ĺ›˝" | cut -c1-2
> there is no output here
Thank you for the report.
That is a known problem.
Here is the corresponding item from coreutils' TODO file:
Adapt tools like wc, tr, fmt, etc. (most of the textutils) to be
multibyte aware. The problem is that I want to avoid duplicating
significant blocks of logic, yet I also want to incur only minimal
(preferably `no') cost when operating in single-byte mode.