simplexls: Error in parsing UTF-8

Please you can help me, i try using header('Content-Type: text/html; charset=utf-8'); $lines = \SimpleXLS::parse($filepath);

But this characters don’t convert “Ibirité” -> “Ibirit�”. You can help me. and sorry for bad english i’am learning now.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 25 (10 by maintainers)

Most upvoted comments

We speak about SimpleXLS, not SimpleXLSX.

my bad

Try 0.9.12 thx Nil-av for persistence

Excel used UTF18LE or Latin-1 Latin1 0…127 === UTF8, BUT(!) Latin1 128…255 !== UTF8 ( because 2 bytes/chars used there )