Hi list,

I'm in a big trouble. I'm brazilian, so I've made a script to clean up the
special caracters from our language in order to not mess up my publisher,
but this script don't work in Macintosh (macos 9.1, IE 5, all in american

This is my code

function myclean(&$name) {
    $name = strtolower(strtr($name,
" ",
        return $name;
$temp = myclean($name_actor);

What happens is if i try for example to clean up "So Paulo" it prints "so
paulo". Why??
The "$name" will receive a string form a text field in a form. my html
charset is iso-8859-1

Thank's in advance

Rodrigo Peres

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to