Closed headius closed 3 months ago
@eregon @mislav I took a stab at this based on the discussion. It should clear LC_ALL
in the tr
call, which I believe resolves the encoding error on environments with an existing LC_ALL
env.
Please check my work.
This resolves additional issues when tr is called in a shell that has set LC_ALL to a specific encoding. In that case, the tr may fail to ignore binary files, expecting that they are in some encoding.
See https://github.com/rbenv/ruby-build/issues/2279