I've asked about strtolower function. But when using foreign characters it doesn't convert them into uppercase, so I must use:
mb_strtolower($a,"utf8");
But what can I do, if I want to use ucfirst() function? I haven't found any similar function, where I can set encoding type.