Revision: 22455
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 13, 2010 01:51 by giak
Initial Code
// Remove accents function neo_remove_accent($l_str){ $l_match = array('/[à âäåãáÂÄÀÅÃÃæÆ]/','/[ß]/','/[çÇ]/','/[Ã]/','/[éèêëÉÊËÈ]/','/[ïîìÃÃÃŽÃŒÃ]/','/[ñÑ]/','/[öôóòõÓÔÖÒÕ]/','/[__]/','/[ùûüúÜÛÙÚ]/','/[Â¥_Ã_ýÿ]/','/[__]/'); $l_replace = array('a', 'b', 'c', 'd', 'e', 'i', 'n', 'o', 's', 'u', 'y', 'z'); return preg_replace($l_match, $l_replace, $l_str); }
Initial URL
http://www.giacomel.fr
Initial Description
Initial Title
PHP : Remove accents
Initial Tags
array
Initial Language
PHP