Why can't array_search find the Chinese string?

$exist_key1 = array_search(trim($val[0][2]),$cCategory_arr);
var_dump(trim($val[0][2]));
var_dump($cCategory_arr);

var_dump($exist_key1);

print is handled like this:

"",,,,,

Php
Mar.29,2021

confirm your file encoding

106
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e47d95-444a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e47d95-444a8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?