Public bug reported: Hi,
$ echo 哈哈 哈哈 $ echo 哈哈 | cut -c 2- ��哈 Apparently, Red Hat patched this in or before FC15. http://unix.stackexchange.com/questions/15961/coreutils-that-are-utf-aware [patches@holocene ~]$ rpm -q coreutils coreutils-8.10-2.fc15.x86_64 [patches@holocene ~]$ echo 哈哈 | cut -c 2- 哈 The patch is here: http://pkgs.fedoraproject.org/cgit/coreutils.git/tree /coreutils- i18n.patch?id=6e10f376996b64f538259091a524df2249b653fb;id2=HEAD ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: coreutils 8.21-1ubuntu5.1 ProcVersionSignature: Ubuntu 3.13.0-44.73-generic 3.13.11-ckt12 Uname: Linux 3.13.0-44-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.14.1-0ubuntu3.6 Architecture: amd64 CurrentDesktop: XFCE Date: Sat Jan 24 10:06:25 2015 InstallationDate: Installed on 2013-05-22 (611 days ago) InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1) SourcePackage: coreutils UpgradeStatus: Upgraded to trusty on 2015-01-04 (19 days ago) ** Affects: coreutils (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1414316 Title: cut() does not handle unicode properly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1414316/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs