PHP 8.5.0 Released!

Voting

: zero plus four?
(Example: nine)

The Note You're Voting On

bart at insane dot at
19 years ago
When using UTF-8 and need to convert to uppercase with 
special characters like the german ä,ö,ü (didn't test for french,polish,russian but think it should work, too) try this:
function strtoupper_utf8($string){
 $string=utf8_decode($string);
 $string=strtoupper($string);
 $string=utf8_encode($string);
 return $string;
}

<< Back to user notes page

AltStyle によって変換されたページ (->オリジナル) /