On Tue, 16 Jun 2015 20:24:07 -0700
Marcel Moolenaar <mar...@xcllnt.net> wrote:

> 
> > On Jun 16, 2015, at 8:15 PM, Andrey Chernov <a...@freebsd.org>
> > wrote:
> > 
> > On 17.06.2015 6:12, Marcel Moolenaar wrote:
> >> Author: marcel
> >> Date: Wed Jun 17 03:12:08 2015
> >> New Revision: 284489
> >> URL: https://svnweb.freebsd.org/changeset/base/284489
> >> 
> >> Log:
> >>  Unbreak ``env LANG=ru_RU.KOI8-R ls -l''.
> >>  Time strings are in the current locale.
> > 
> > Thanx, but the same treatment should be for file names too: they
> > are in the current locale. ls -l drops them otherwise.
> 
> filenames are already printed with the h attribute, so
> something else may be wrong.
> 
> --
> Marcel Moolenaar
> mar...@xcllnt.net
> 
> 
> 
No, not in ls -l. You need this in  printlong:

-                   xo_emit("{ke:name}", name);
+                   xo_emit("{ke:name/%hs}", name)

-                   xo_emit("{dk:name}", name);
+                   xo_emit("{dk:name/%hs}", name);

-- 
Alexander Kabaev

Attachment: pgpww0IEEcOez.pgp
Description: OpenPGP digital signature

Reply via email to