So how do I get cyrillic chars to upper case?
echo strtoupper("русские");
this doesn't work.
Use mb_strtoupper
with correct encoding (without it it won't work):
echo mb_strtoupper("русские", "utf-8");
РУССКИЕ
You will have to use MultiByte functions:
Make sure that MB is installed and enabled in your PHP;)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.