[PATCH 1/1] paint visual host key with unicode box-drawing characters

Gert Doering gert at greenie.muc.de
Wed Jul 8 00:52:21 AEST 2015


Hi,

On Tue, Jul 07, 2015 at 04:25:25PM +0200, Roland Mainz wrote:
> General comments:
> 1. Not all locales use UTF-8 as encoding but can still use the Unicode
> characters you use (e.g. GB18030 is a modern example and it's use is
> mandated by all software vendors in PRC China). A quick solution is to
> use |iconv()| to convert the UTF-8 byte sequences to the local
> encoding (see http://svn.nrubsig.org/svn/people/gisburn/code/ucs4towchar_t/ucs4towchar_t.c

So the suggestion is to use another external dependency (and one that
updates quite frequently to the great joy of admins everywhere) just
to paint some visual sugar which works about as well in ASCII...

... wtf?

The whole idea of using UTF8 in a single place inside OpenSSH just for
eye candy needs to be burnt in flames.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert at net.informatik.tu-muenchen.de


More information about the openssh-unix-dev mailing list