Jim Meyering wrote:
> Bo Borgerson <[EMAIL PROTECTED]> wrote:
>> I may be misinterpreting your patch, but it seems to me that
>> decrementing count for zero-width characters could potentially lead to
>> confusion.  Not all zero-width characters are combining characters, right?
> 
> It looks ok to me, since there's an unconditional increment
> 
>                 chars++;
> 
> about 25 lines above, so the decrement would just undo that.


Right, I guess my question is more about the semantics of `wc -m'.
Should stand-alone zero-width characters such as the zero-width space be
counted?

The attached (UTF-8) file contains 3 characters according to HEAD, but
only two with the patch.

Bo
a​b
_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to