title: How to cope with different encodings of xls files in PHP?
body: <p>I'm developing a php script involving parsing data from xls files. I'm using library <a href="http://sourceforge.net/projects/phpexcelreader" rel="nofollow" title="phpexcelreader">phpexcelreader</a>. All mostly works, but I stumbled upon a strange problem. Some files are parsed incorrecty. Looks like xls files may use different character encodings internally. At least, then I pipe output from my script through iconv -f cp1251 -t utf8, strings get corrected.</p>
  
  <p>Phpexcelreader has an option for specifing output encoding, but looks like it lacks an ability detect input encoding. Any ideas? </p>