/bin/ls formatting broken for non-C(?) locales

Ed Schouten ed at nuxi.nl
Sat Nov 21 12:18:45 UTC 2015


Hi Baptiste,

I suppose you should use the wcswidth() function somewhere to compute
the visible width of the month name. Some characters may be
double-width, others may have no effective width at all.

-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717


More information about the freebsd-current mailing list