summaryrefslogtreecommitdiffstats
path: root/test/StreamFilterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/StreamFilterTest.php')
-rw-r--r--test/StreamFilterTest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/StreamFilterTest.php b/test/StreamFilterTest.php
index e576a02..0b98050 100644
--- a/test/StreamFilterTest.php
+++ b/test/StreamFilterTest.php
@@ -142,4 +142,11 @@ class StreamFilterTest extends AbstractTestCase
$this->assertTrue($csv->hasStreamFilter(FilterReplace::FILTER_NAME."\r\n:\n"));
$csv->insertOne([1, 'two', 3, "new\r\nline"]);
}
+
+ public function testUrlEncodeFilterParameters()
+ {
+ $csv = Reader::createFromPath(__DIR__.'/data/foo.csv');
+ $csv->appendStreamFilter('convert.iconv.UTF-8/ASCII//TRANSLIT');
+ $this->assertCount(1, $csv->fetchAll());
+ }
}