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'); }
Activity
Abdy Franco
created issue -
Abdy Franco
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 5.1.0-b1 [ 11703 ] | |
Affects Version/s | 5.1.0-b1 [ 11703 ] |
Abdy Franco
made changes -
Rank | Ranked higher |
Abdy Franco
made changes -
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Sprint | 5.1.0 Sprint 4 [ 131 ] |
Jonathan Reissmueller
made changes -
Rank | Ranked higher |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Jonathan Reissmueller
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Jonathan Reissmueller
made changes -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Jonathan Reissmueller
made changes -
Status | In Review [ 5 ] | Closed [ 6 ] |