PHPExcel输出乱码 [英] PHPExcel output is garbled

查看:129
本文介绍了PHPExcel输出乱码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试PHPExcel附带的简单示例-01simple.xls- 即时通讯输出乱码. 它(LibreOffice)想要导入文件 它认为字符集是西欧DOS/OS2-861.icelandic 输出是这样

Im trying the simple examples -01simple.xls- that come with PHPExcel im getting garbled output. It (LibreOffice) wants to import the file it thinks the char set is Western Europe DOS/OS2-861.icelandic and the output is like this

╨╧αí▒ß ■╗ ╠╤B░=╝%r8X1▄ÉCalibriα⌡ ╗ ╠╤* +éÇü┴âä& ffffffµ?'ffffffµ?(Φ?)Φ?ídXX333333╙?333333╙?U} $} $} $} $² ² ² ²

╨╧αí▒ß ■                                                                                                                                                                                                                                                                                                                                                                                                                                                   ╗ ╠╤B░=╝%r8X"1▄ÉCalibriα⌡  ╗ ╠╤*+éÇü┴âä&ffffffµ?'ffffffµ?(Φ?)Φ?í"dXX333333╙?333333╙?U}$ }$ }$ }$ ² ² ² ²

╢@ gg 根

╢@gg      Root

可能很简单,但我不知道

Its probably something straightforward , but Ive no idea

推荐答案

尝试重新上传phpexcel,并将ftp中的传输类型设置为auto.

try reupload phpexcel with the transfer type in the ftp set to auto.

这篇关于PHPExcel输出乱码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆