zoukankan      html  css  js  c++  java
  • 修改bigbluebutton白板上传中文乱码

     
       
    中文命名的文档,上传是乱码 -- 显示的
    打开后, 中文部分是乱码
    
    Comment 1 by project member ffdixon, Nov 08, 2010
    Translation "Chinese name of the document, the upload is garbled - show opens, the Chinese part is garbled"
    
    Do you have a sample Chinese document that you can attach to this bug and give us steps to reproduce? - 你有一个示例中的文件,您可以连接到这个错误,给我们的步骤来重现?
    
    Also, could you try uploading a PDF version of the document and let us know if you still see the same problems. 此外,你能尝试上传一个文件的PDF版本,让我们知道,如果你仍然可以看到同样的问题。
    
    
    Summary: Chinese document is garbled - 中文文档是乱码
    Comment 3 by pieafriend, Nov 13 (4 days ago)
    Hi,
    
    It should not be a bug of BBB, but linux doesn't have the Chinese fonts of the uploaded documents. What you need to do is to add the appropriate Chinese fonts to linux and then you will fix this issue.
    
    In short, you can fix it in the following steps:
    
    
    
    1.copy all Chinese fonts from Windows OS to the appropriate folder in Ubuntu.
    
    
    cd /usr/shar/fonts
    
    sudo mkdir 11
    
    sudo chmod 755 11
    
    
    cp "the fonts" /usr/share/fonts/11
    
    
    2. Build fonts cache,
    
    sudo mkfontscale
    
    sudo mkfontdir
    
    sudo fc-cache –fv
    
    
    
    Then reload the system.
    
    
    Now you fix it!
    
    
    The following are the Chinese guide for your easy reference. Hope you fix it:
    
    1:复制中文字体,比如win下的所有到对应的位置
    
    cd /usr/shar/fonts
    
    sudo mkdir 11
    
    sudo chmod 755 11
    
    cp /下载后文件路径/11.ttf /usr/shar/fonts/11
    
    2:建立字体缓存
    
    
    sudo mkfontscale
    
    sudo mkfontdir
    
    sudo fc-cache –fv
    重启,即可识别中文字体。
    
    
    Comment 4 by project member ffdixon, Nov 13 (4 days ago)
    Hi,
    
    I agree that this isn't a bug for BigBlueButton.  While we can't advocate that you copy the fonts from a windows machine (as there is probably a license associated with them), another option is to always upload a PDF document to BigBlueButton.
    
    Using PDF the document converts directly to SWF and there is no need for font substitution on the BigBlueButton server.
    
    In short, whenever possible, use PDF.
    
  • 相关阅读:
    使用Notepad++进行php开发所必需的插件
    jquery操作复选框(checkbox)的12个小技巧总结
    深入理解拆箱
    史上最全UML的详细解析
    我理解的invoke和begininvoke
    java中的冒泡排序算法
    java中的选择排序算法
    Java实现将json中的数值插入到mysql中
    Java实现对mysql中的数值进行读取、插入、更新、删除
    Java连接MySQL数据库
  • 原文地址:https://www.cnblogs.com/weaver1/p/3178957.html
Copyright © 2011-2022 走看看