--- Begin Message ---
Subject: |
expr length |
Date: |
Thu, 4 May 2017 12:59:31 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#26779: expr length |
Date: |
Wed, 28 Jun 2017 21:20:05 -0400 |
> On Jun 28, 2017, at 12:32, Pádraig Brady <address@hidden> wrote:
>
> On 27/06/17 18:41, Assaf Gordon wrote:
>> Attached work-in-progress for expr/multibyte,
> This looks to have sufficient testing and is ready to push.
> We can look at using wide strings internally in a further patch.
Thanks,
pushed here:
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=a9f2be5bfec2bfe86c08
I'm thus closing this bug report (but of course
discussion can continue by replying to this thread).
regards,
- assaf
--- End Message ---