intothedark
V2EX  ›  问与答

小白求问 openwrt 挂载移动硬盘后中文显示问题

  •  
  •   intothedark · Oct 23, 2022 · 1413 views
    This topic created in 1341 days ago, the information mentioned may be changed or developed.

    openwrt webdav 挂载移动硬盘成功,通过电脑浏览器访问硬盘,发现移动硬盘里标题带中文的文件全都不能显示出来,纯英文标题的文件正常显示。

    搜了一下午,只能搜到解决中文乱码问题的方法,搜不到以上问题的解决方法。

    求各路大神指点,谢谢!

    5 replies    2022-10-26 02:13:02 +08:00
    intothedark
        1
    intothedark  
    OP
       Oct 23, 2022
    挂载点选项加上 iocharset = utf8 ,暂时解决了
    intothedark
        2
    intothedark  
    OP
       Oct 24, 2022
    拔插移动硬盘后失效,不能一劳永逸解决
    intothedark
        3
    intothedark  
    OP
       Oct 24, 2022
    openwrt 挂载默认 nls=iso8859-1 ,求问这个在哪里更改为 iocharset = utf8
    intothedark
        4
    intothedark  
    OP
       Oct 24, 2022
    ro,relatime,uid=0,gid=0,fmask=0177,
    dmask=077,nls=iso8859-1,
    errors=continue,mft_zone_multiplier=1
    默认的挂载选项,求问怎么修改,谢谢
    flynaj
        5
    flynaj  
       Oct 26, 2022 via Android
    Luci-->系统-->挂载点-->挂载点 添加-->启用挂载点
    推荐通过 UUID 标签挂载 ,修改挂载参数就行。
    挂载不通的文件系统有不同的参数 https://openwrt.org/docs/techref/block_mount
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1127 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:14 · PVG 07:14 · LAX 16:14 · JFK 19:14
    ♥ Do have faith in what you're doing.