Details
Description
When importing clients from WHMCS, if they have names in UTF-8 encoded languages, such as Chinese, they are stored in the database as garbage characters.
In the WhmcsMigrator::decode() function, add the following code block before the return statement.
if (mb_detect_encoding($str) == 'UTF-8') { return html_entity_decode($str, ENT_QUOTES, 'UTF-8'); }