Maybe I am not searching in the right place. But how can I add UTF-8 characters to the routing with regular expresion ? In a normal preg_match i would do something like:
preg_match('/calin/u', $string); // this will match calin or călin
I couldn't find a way to append the /u condition to the routing. Any feedback on this would be appreciated. Thanks
$router->addGet('/cauta[/]{0,1}$', array( // this should also match caută
'module' => 'frontend',
'controller' => 'post',
'action' => 'search',
'activePage' => 'search',
'activeCategory' => 'search',
));