[Bug 196269] sysutils/py-ranger: wrong characters in non-ascii filenames

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 21 18:58:35 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196269

c.brinkhaus at t-online.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c.brinkhaus at t-online.de

--- Comment #5 from c.brinkhaus at t-online.de ---
Created attachment 165925
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=165925&action=edit
The environment of ranger is changed to LANG=C.

I have tried to find how to make ranger work with non-ascii characters in an
utf-8 environment without success. But ranger works in an environment with
LANG=C. Therefore I propose the patch as attached. It simply adds

from os import putenv
putenv('LANG', 'C')

to ranger.py. What do you think about this method?

Kind regards,
Christoph

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list