V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
mune
V2EX  ›  macOS

请教 iterm 中 perl: warning: Please check that your locale settings: LANGUAGE = (unset) 的根本原因及解决办法。

  •  
  •   mune · Mar 23, 2018 · 3276 views
    This topic created in 2959 days ago, the information mentioned may be changed or developed.
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
    2 replies    2018-03-23 10:58:16 +08:00
    twtww
        1
    twtww  
       Mar 23, 2018
    xuboying
        2
    xuboying  
       Mar 23, 2018
    perl 喜欢 ansi 的 encoding,毕竟是 UTF8 前的产物,试试设置环境变量先
    export LC_ALL=C
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2737 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 15:39 · PVG 23:39 · LAX 08:39 · JFK 11:39
    ♥ Do have faith in what you're doing.