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

问题描述

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

Im trying the simple examples -01simple.xls- that come with PHPExcelim getting garbled output.It (LibreOffice) wants to import the fileit thinks the char set is Western Europe DOS/OS2-861.icelandicand the output is like this

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

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

可能很简单,但我不知道

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输出乱码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-03 18:40