Skip to content

Commit

Permalink
fixing utf8 encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmru committed Feb 22, 2016
1 parent c32795d commit 72f52a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iterateur_xls_options.php
Expand Up @@ -22,7 +22,7 @@ function iterateur_xls_convert(&$reader) {
} else {
$data = [];
foreach($header as $k => $v) {
if (!is_utf8($v)) $v = utf8_encode($v);
if (!is_utf8($row[$v])) $row[$v] = utf8_encode($row[$v]);
$data[$k] = $row[$v];
}
$datas[] = $data;
Expand Down
2 changes: 1 addition & 1 deletion paquet.xml
@@ -1,7 +1,7 @@
<paquet
prefix="iterateur_xls"
categorie="outil"
version="1.0.1"
version="1.0.2"
etat="dev"
compatibilite="[3.0.0;3.1.*]"
documentation="http://contrib.spip.net/iterateur_xls"
Expand Down

0 comments on commit 72f52a9

Please sign in to comment.