Sherlockhlt
V2EX  ›  问与答

ls 中文文件输出是???

  •  
  •   Sherlockhlt · Jul 11, 2014 · 4592 views
    This topic created in 4499 days ago, the information mentioned may be changed or developed.
    终端是支持Unicode的,因为我cd的时候补全是可以补中文的,可是ls输出都是???,不知道该在哪里配置?
    3 replies  •  2014-07-11 10:31:37 +08:00
    randal
    randal
    Jul 11, 2014
    1
    locale不对
    agileguo
    agileguo
    Jul 11, 2014
    2
    export LC_ALL=zh_CN
    看看呢
    Sherlockhlt
    Sherlockhlt
    OP
    Jul 11, 2014
    3
    @agileguo
    @randal
    原来是locale的问题,按照@agileguo的方法解决了,谢谢两位!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5098 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 06:40 · PVG 14:40 · LAX 22:40 · JFK 01:40
    ♥ Do have faith in what you're doing.