At 19:11 18.01.2003, Ian M. Evans said:
--------------------[snip]--------------------
>Thanks for the response. I guess I wasn't too clear in my original post. I'm
>not looking to turn an accented letter into its numeric equivalent, I'm
>looking to strip the accent so that Renée Zellweger becomes Renee Zellweger.
--------------------[snip]-------------------- 

$chars_in = array('Á',''á','É','é');  // you get it
$chars_out = array('A','a','E','e');  // this too
preg_replace($chars_in, $chars_out, $string_to_parse);


-- 
   >O     Ernest E. Vogelsinger
   (\)    ICQ #13394035
    ^     http://www.vogelsinger.at/



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to