[MacPorts] #60065: coreutils @8.31: ls break with non-ASCII filename

MacPorts noreply at macports.org
Mon Feb 10 09:05:33 UTC 2020


#60065: coreutils @8.31: ls break with non-ASCII filename
-------------------------+----------------------
  Reporter:  FranklinYu  |      Owner:  (none)
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  coreutils   |
-------------------------+----------------------

Comment (by FranklinYu):

 Yes, please close this ticket Joshua. It’s indeed locale configuration
 issue. Sorry for noise.

 == root cause (optional reading)

 The root reason is that I set "language" to Chinese (because I want to see
 UI show in Chinese), while "location" to United States (because I’m
 currently living in California). I thought that the location only affects
 date format, which was wrong. The combination of language and location
 decides `$LANG`, which is the base of the entire locale system. My
 `$LC_CTYPE` set to UTF-8 is simply a side effect of missing `$LANG`, and
 the behavior is shared between iTerm2 and Terminal.app.

 Conclution: there is nothing broken, and everything (MacPorts, iTerm2,
 Terminal.app, and macOS) works as intended. It’s me. I fixed myself.

-- 
Ticket URL: <https://trac.macports.org/ticket/60065#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list