mune
V2EX  ›  macOS

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

  •  
  •   mune · Mar 23, 2018 · 3327 views
    This topic created in 2979 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   ·   5132 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 01:20 · PVG 09:20 · LAX 18:20 · JFK 21:20
    ♥ Do have faith in what you're doing.