J
J
JackShcherbakov2017-12-07 08:29:44
PHP
JackShcherbakov, 2017-12-07 08:29:44

Why doesn't the strtolower and strtoupper function work in PHP?

I use OPENSERVER. Strtolower and strtoupper are completely ignored. From what I read, I realized that it was necessary to change the language locales. But I have no idea how to do it. The mb_ strtolower and mb_strtoupper functions cause the encoding to crash.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
krypt3r, 2017-12-07
@JackShcherbakov

If encoding is UTF-8, then only mb_*
php.net/manual/ru/function.mb-internal-encoding.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question