GNU bug report logs - #26779
expr length

Previous Next

Package: coreutils;

Reported by: Андрей Воронов <voronov <at> factor-ts.ru>

Date: Thu, 4 May 2017 15:24:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Андрей Воронов <voronov <at> factor-ts.ru>
To: 26779 <at> debbugs.gnu.org
Subject: bug#26779: expr length
Date: Thu, 4 May 2017 12:59:31 +0300
Hello,

I have the bug in expr utility when it perform operation of the 
calculating length of the string in my multi-byte encoding ru_RU.UTF-8.
When I run:  "expr length Привет"
it return me the number 12.
But in the russian word "Hello" the length is 2 times shorter: exactly 6 
characters.
May you register and fix this problem?

expr --version
expr (GNU coreutils) 8.25

God bless you






This bug report was last modified 8 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.