1
0
Fork 0

update README.md

This commit is contained in:
Chenx221 2024-01-19 16:15:43 +08:00
parent e44efa9f50
commit 752b1aff91
1 changed files with 18 additions and 0 deletions

View File

@ -1,2 +1,20 @@
# 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);
}
...
```