正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
| 2 | 2 | ||
| 3 | namespace Controller; | 3 | namespace Controller; | 
| 4 | 4 | ||
| 5 | +use Lib\Imap\Fun; | ||
| 5 | use Lib\Mail\Mail; | 6 | use Lib\Mail\Mail; | 
| 6 | use Lib\Mail\MailFun; | 7 | use Lib\Mail\MailFun; | 
| 7 | use Lib\UploadFile; | 8 | use Lib\UploadFile; | 
| @@ -910,6 +911,7 @@ class Home extends Base { | @@ -910,6 +911,7 @@ class Home extends Base { | ||
| 910 | $data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']); | 911 | $data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']); | 
| 911 | 912 | ||
| 912 | $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8'); | 913 | $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8'); | 
| 914 | + $data['description'] = Fun::mb_convert_encoding($data['description'],'utf-8'); | ||
| 913 | 915 | ||
| 914 | $data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : []; | 916 | $data['to_name'] = $data['to_name'] ? json_decode($data['to_name'],true) : []; | 
| 915 | $data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : []; | 917 | $data['cc'] = $data['cc'] ? json_decode($data['cc'],true) : []; | 
- 
请 注册 或 登录 后发表评论