nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] I like neither green eggs and ham nor MIME


From: Christian Neukirchen
Subject: Re: [Nmh-workers] I like neither green eggs and ham nor MIME
Date: Fri, 18 Jul 2014 18:57:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

address@hidden writes:

> I am not at all secure about how the standard GNU utilities will handle
> non-ascii characters. For example, 'wc -c', just counts bytes. True, the man
> page talks about bytes, not characters, but I am still left uncomfortable.

GNU wc(1) has -m for that:

% echo $LANG
en_US.UTF-8
% echo 'äöü' | wc -c
7
% echo 'äöü' | wc -m
4

-- 
Christian Neukirchen  <address@hidden>  http://chneukirchen.org




reply via email to

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