Mantis Chinese statistics report garbled Problem Solution

Source: Internet
Author: User

Mantis Chinese report garbled

1. Install mantistb 1.2.17:
A. Install plug-ins: Management-plug-ins management-
Install the mantisgraph (mantis chart 1.0) plugin
B. modify the configuration file:
File mantis \ plugins \ mantisgraph \ pages \ config. php (open the modification file with ultraedit and save it as UTF-8 format ):
$ T_current_font_selected = array (
'Simsun' => false, // Add this line
'Arial' => false,
//--------------------------------------
Sans-serif: <br/>
<Label> <input type = "radio" name = "font" value = "simsun" <? PHP echo
Print_font_checked ('simsun')?> /> </Label> <br/> // Add this line
//---------------------------------
File mantis \ plugins \ mantisgraph \ pages \ config_edit.php:
If (plugin_config_get ('font ')! = $ F_font ){
Switch ($ f_font ){
Case 'simsun': // Add this line
Case 'arial ':
//----------------------------------
File mantis \ plugins \ mantisgraph \ core \ graph_api.php:
$ T_font_map = array (
'Simsun' => ff_simsun, // Add this line
'Arial' => ff_arial,

 

 

If (plugin_config_get ('eczlibrary ') = on ){

$ T_font_map = array (

'Simsun' => 'msyh. ttf', // Add the font to the system directory.

'Arial' => 'arial. ttf ',

 


2. Set and enable:
(1) Management-> Management plug-in-> click "mantis graphics 1.0" to go to the configuration page,
(2) Select "" for font"

 

Display normal !!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.