bug-coreutils
[Top][All Lists]
Advanced

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

cut (GNU coreutils) 7.6 can not worked in multi-bytes text


From: 涂青
Subject: cut (GNU coreutils) 7.6 can not worked in multi-bytes text
Date: Tue, 27 Oct 2009 13:57:02 +0800

Dear bug-coreutils:
       
cut (GNU coreutils) 7.6 can not work well in multi-bytes text 
   example:
address@hidden smsuser]# locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=zh_CN.UTF-8
address@hidden smsuser]# cut --version
cut (GNU coreutils) 7.6
Copyright (C) 2009 Free Software Foundation, Inc.
address@hidden smsuser]# echo "中国" | cut -c1-2 
there is no output here




steven tu
2009-10-27

reply via email to

[Prev in Thread] Current Thread [Next in Thread]