search

Home  >  Q&A  >  body text

node.js - onlyoffice 本地服务器,如果让其支持中文(急)

如何在修改 onlyoffice ,让其不会在中文下乱码

黄舟黄舟2783 days ago481

reply all(3)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 15:42:57

    To find the answer yourself, add Chinese fonts to the server
    Install fonts:

    apt-get install fonts-arphic-ukai

    Call:

    documentserver-generate-allfonts.sh 

    Then refresh the browser cache and see

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 15:42:57

    How to call documentserver-generate-allfonts.sh

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:42:57

    Reference https://github.com/ONLYOFFICE...

    First install Chinese fonts,

    Then

      cd /usr/share/fonts
      tar cv * | docker exec -i onlyoffice-document-server tar x -C /usr/share/fonts/
      docker exec onlyoffice-document-server documentserver-generate-allfonts.sh 
    

    Then clear cache browser and logon again.

    reply
    0
  • Cancelreply