node.js - onlyoffice 本地服务器,如果让其支持中文(急)
黄舟
黄舟 2017-04-17 15:40:57
0
3
482

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

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(3)
巴扎黑

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

刘奇

How to call documentserver-generate-allfonts.sh

洪涛

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template