Allow normalized search (without diacritics) it should also fix the case problem with non latin languages (cyrillic).
The last part is not tested. disclaimer : Slow ! re #49, #48
This commit is contained in:
부모
23fcc4d641
커밋
78d42b48e2
5개의 변경된 파일과 148개의 추가작업 그리고 7개의 파일을 삭제
|
@ -125,4 +125,8 @@ class BaseTest extends PHPUnit_Framework_TestCase
|
|||
|
||||
$this->assertTrue (Base::checkDatabaseAvailability ());
|
||||
}
|
||||
|
||||
public function testNormalizeUtf8String () {
|
||||
$this->assertEquals ("AAAAAEACEEEEIIIIOEOOOOOEUUUUEYaaaaaeaceeeeiiiioedoooooeuuuueyyuny", normalizeUtf8String ("ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏŒÒÓÔÕÖÙÚÛÜÝàáâãäåçèéêëìíîïœðòóôõöùúûüýÿñ"));
|
||||
}
|
||||
}
|
불러오는 중…
테이블 추가
Add a link
Reference in a new issue