I want to convert the first character of a string to uppercase and I tried this:
$textfield = ucfirst($textfield);
It works except the Swedish characters åäö and ÅÄÖ. How do I solve this? For example:
The word is öarna. I want it to be Öarna, but I get öarna.
The word is oarna. I want it to be Oarna, and that works.