问题
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░=╝%r8X"1▄ÉCalibriα⌡ ╗ ╠╤*+éÇü┴âä&ffffffµ?'ffffffµ?(Φ?)Φ?í"dXX333333╙?333333╙?U}$ }$ }$ }$ ² ² ² ²
╢@gg Root
Its probably something straightforward , but Ive no idea
回答1:
try reupload phpexcel with the transfer type in the ftp set to auto.
回答2:
Also make sure to remove all of the BOM's for the files. This script works great for it! http://code.google.com/p/bomremover/
来源:https://stackoverflow.com/questions/10814114/phpexcel-output-is-garbled