isbase
V2EX  ›  问与答

OpenWRT 怎么设置默认 locale 为 UTF8 ?

  •  
  •   isbase ·
    PRO
    · Feb 6, 2015 · 9104 views
    This topic created in 4141 days ago, the information mentioned may be changed or developed.
    用aria2中文文件名会乱码
    2 replies    2020-12-06 06:13:51 +08:00
    pmpio
        1
    pmpio  
       Oct 21, 2016
    晕死,我也遇到这类问题了, tcpdump 抓包时发现中文全是乱码,发现 /usr/share 下面根本没有 locale 目录,可能得另外安装一些包。
    chancat
        2
    chancat  
       Dec 6, 2020
    其实很简单,你安装的固件编译的时候就没有把 utf8 编译进去所以会乱码,最直观的表现为
    系统-系统-语言和界面,看看这个选项里有没有繁体中文

    opkg update

    opkg install kmod-nls-utf8

    尽管如此添加进了 utf8 也无效
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5254 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 517ms · UTC 05:56 · PVG 13:56 · LAX 22:56 · JFK 01:56
    ♥ Do have faith in what you're doing.