Home  >  Q&A  >  body text

linux - ubuntu文件夹中文乱码


设置/etc/default/locale下成图那样后,就成这样了,有些文字没能显示。
若是设置成utf-8,就能正常显示,但是ftp到win布署的服务器,则中文会乱码。

更重要的是:WIN下压缩的包,解压后乱码(无论是将locale设置成utf-8还是gb18030都是乱码)

迷茫迷茫2729 days ago531

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 15:07:43

    You can compress it into a compressed package in 7z or rar format, and then send it to the server for unpacking. Because 7z and rar will record the encoding format, but zip will not.

    reply
    0
  • Cancelreply