07-27-2023, 06:45 AM
In my case, I was using `mb_split`, which uses regular expressions. Therefore I also had to manually make sure the regular expression encoding was UTF-8 by doing `mb_regex_encoding('UTF-8');`
As a side note, I also discovered by running `mb_internal_encoding()` that the internal encoding wasn't UTF-8, and I changed that by running `mb_internal_encoding("UTF-8");`.
As a side note, I also discovered by running `mb_internal_encoding()` that the internal encoding wasn't UTF-8, and I changed that by running `mb_internal_encoding("UTF-8");`.