1
0
Fork 0
php-coding/README.md

416 B

php-coding

TIPS

12.*.php依赖jpgraph,版本4.4.2,其中jpgraph_ttf.inc.php修改了部分代码:

...
elseif( $aFF === FF_SIMSUN ) {
    // Do Chinese conversion
	if(mb_detect_encoding($aTxt,'auto')=='UTF-8'){
		return $aTxt;
	}
    if( $this->g2312 == null ) {
        include_once 'jpgraph_gb2312.php' ;
        $this->g2312 = new GB2312toUTF8();
    }
    return $this->g2312->gb2utf8($aTxt);
}
...