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 !!!