2 // use no mbstring help here
3 if(!defined('UTF8_NOMBSTRING')) define('UTF8_NOMBSTRING',1);
5 class utf8_strtolower_test
extends DokuWikiTest
{
7 function test_givens(){
9 'Αρχιτεκτονική Μελέτη' => 'αρχιτεκτονική μελέτη', // FS#2173
12 foreach($data as $input => $expected) {
13 $this->assertEquals($expected, \dokuwiki\Utf8\PhpString
::strtolower($input));
16 // just make sure our data was correct
17 if(function_exists('mb_strtolower')) {
18 foreach($data as $input => $expected) {
19 $this->assertEquals($expected, mb_strtolower($input, 'utf-8'));