bug-bash
[Top][All Lists]
Advanced

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

Re: Bug: UTF-8 expansion results in extra characters


From: L A Walsh
Subject: Re: Bug: UTF-8 expansion results in extra characters
Date: Mon, 06 Mar 2017 06:45:40 -0800
User-agent: Thunderbird



Eduardo Bustamante wrote:
On Mon, Mar 6, 2017 at 6:50 AM, L A Walsh <address@hidden> wrote:
[...]
echo 'あa a '|wc -m
6

There should only be 5 characters.
use echo -n then.

    $ echo -n 'あa a '|wc -m
    5
---
Yup. I'm an idiot at times!
The thing was that I kept copying it into different windows
and I kept getting different behaviors where the count wasn't
consistent.  So, I got overfocussed on reproducing it
otherwise.

   It's still the case that in Misaki's post, there is a space
at the end of the line, but not in the quoted version that Chet
posted...

   Thanks for the head-butt.

   Now if you can tell me what's wrong with my completion
problem, I can go back to sleep... ;^/  *sigh*




reply via email to

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