We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f020ae commit cc51a4fCopy full SHA for cc51a4f
tests/SearchTestCase.php
@@ -229,7 +229,7 @@ public function testUtf8AnalyzerKnowsToHandleOtherEncodingsWorks()
229
$analyzer = new Doctrine_Search_Analyzer_Utf8();
230
231
// convert our test string to iso8859-15
232
- $iso = iconv('UTF-8','ISO8859-15', 'un éléphant ça trompe énormément');
+ $iso = mb_convert_encoding('un éléphant ça trompe énormément', 'ISO-8859-15', 'UTF-8');
233
234
$words = $analyzer->analyze($iso, 'ISO8859-15');
235
$this->assertEqual($words[1], 'éléphant');
0 commit comments