美文网首页
Ubuntu locales (设置语言)

Ubuntu locales (设置语言)

作者: Kaiyulee | 来源:发表于2015-11-26 13:43 被阅读1226次
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_CTYPE = "zh_CN.UTF-8",
        LANG = "zh_CN.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    

    $ sudo locale-gen zh_CN zh_CN.UTF-8

    Generating locales...
      zh_CN.GB2312... done
      zh_CN.UTF-8... done
    Generation complete.
    

    $ sudo dpkg-reconfigure locales

    Generating locales...
      en_AG.UTF-8... done
      en_AU.UTF-8... done
      en_BW.UTF-8... done
      en_CA.UTF-8... done
      en_DK.UTF-8... done
      en_GB.UTF-8... done
      en_HK.UTF-8... done
      en_IE.UTF-8... done
      en_IN.UTF-8... done
      en_NG.UTF-8... done
      en_NZ.UTF-8... done
      en_PH.UTF-8... done
      en_SG.UTF-8... done
      en_US.UTF-8... done
      en_ZA.UTF-8... done
      en_ZM.UTF-8... done
      en_ZW.UTF-8... done
      zh_CN.GB2312... up-to-date
      zh_CN.UTF-8... up-to-date
    Generation complete.
    

    相关文章

      网友评论

          本文标题:Ubuntu locales (设置语言)

          本文链接:https://www.haomeiwen.com/subject/weldhttx.html