diff options
author | Ignace Nyamagana Butera <nyamsprod@gmail.com> | 2014-08-07 13:02:40 +0200 |
---|---|---|
committer | Ignace Nyamagana Butera <nyamsprod@gmail.com> | 2014-08-07 13:02:40 +0200 |
commit | 0bf043d9bd4f86102fa075d605ded9e153648ad4 (patch) | |
tree | f5cca85bd434952524c7a2cc5e88dc132b49f6f0 /examples/xml.php | |
parent | 352820cb5815f7cf4af9dc6851525ed273721c77 (diff) | |
download | csv-0bf043d9bd4f86102fa075d605ded9e153648ad4.zip csv-0bf043d9bd4f86102fa075d605ded9e153648ad4.tar.gz csv-0bf043d9bd4f86102fa075d605ded9e153648ad4.tar.bz2 |
deprecated get/setEnconding method
Diffstat (limited to 'examples/xml.php')
-rwxr-xr-x | examples/xml.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/xml.php b/examples/xml.php index a55ba3f..8db4c7c 100755 --- a/examples/xml.php +++ b/examples/xml.php @@ -8,7 +8,7 @@ use League\Csv\Reader; require '../vendor/autoload.php'; $inputCsv = Reader::createFromPath('data/prenoms.csv'); -$inputCsv->setEncoding('ISO-8859-15'); +$inputCsv->setEncodingFrom('ISO-8859-15'); $inputCsv->setDelimiter(';'); $doc = $inputCsv->toXML('csv', 'ligne', 'cellule'); $xml = $doc->saveXML(); |