Hello everybody,
I dont know if this helps but ...
I found that is missing some caracters on MAP array  , like ã and õ
for the portuguese characters...
is there a reason for this, or cakephp development team just "forgot"
to include them.???


here is my new version...

$map = array(
                        '/à|á|ã|å|â/' => 'a',
                        '/è|é|ê|ẽ|ë/' => 'e',
                        '/ì|í|î/' => 'i',
                        '/ò|ó|õ|ô|ø/' => 'o',
                        '/ù|ú|ů|û/' => 'u',
                        '/ç/' => 'c',
                        '/ñ/' => 'n',
                        '/ä|æ/' => 'ae',
                        '/ö/' => 'oe',
                        '/ü/' => 'ue',
                        '/Ä/' => 'Ae',
                        '/Ü/' => 'Ue',
                        '/Ö/' => 'Oe',
                        '/ß/' => 'ss',
                        '/[^\w\s]/' => ' ',
                        '/\\s+/' => $replacement,
                        String::insert('/^[:replacement]+|[:replacement]+$/', 
array
('replacement' => preg_quote($replacement, '/'))) => '',
                );


best regards,

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to