V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
mune
V2EX  ›  macOS

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

  •  
  •   mune · 2018-03-23 10:34:01 +08:00 · 2799 次点击
    这是一个创建于 2227 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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 条回复    2018-03-23 10:58:16 +08:00
    twtww
        1
    twtww  
       2018-03-23 10:46:48 +08:00
    xuboying
        2
    xuboying  
       2018-03-23 10:58:16 +08:00
    perl 喜欢 ansi 的 encoding,毕竟是 UTF8 前的产物,试试设置环境变量先
    export LC_ALL=C
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2740 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 05:16 · PVG 13:16 · LAX 22:16 · JFK 01:16
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.