Link to home
Start Free TrialLog in
Avatar of BR
BRFlag for Türkiye

asked on

php strtoupper functioin

Dear Experts,

I use strtoupper function but it doesn't work on some characters. The output of below code is :  ğüöçşıWR

what do you suggest I should do?

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>UpperCase</title>
</head>

<body>
<?php

$myname= "ğüöçşıwr";
echo $myname = strtoupper($myname);

?>

</body>
</html>

Open in new window

Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

what is doesn't work?

ğüö is not equivalent to guo. it don't have a upper case version of chars.
Avatar of BR

ASKER

Dear Ryan,
What do you suggest I should do to get the uppercase of this characters? There must be a way to do that.
hmmm, i could be wrong. this is not my native language. let me try to get back soon.
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BR

ASKER

thank you both