When generating a table listing using the CP/Table service, I’m getting garbled text where there should be regular utf-8 characters like diacritics and curly quotes.
I’ve attached a screenshot of said behaviour in one of my add-ons. The data is fine in the database (collation/charset is utf-8) and the text displays fine using my old table views. When switching over to the CP/Table based views, the characters are garbled.
Thoughts?
Thanks, Low. I’m unable to reproduce this, guessing it has to do with our different PHP configs. Can you try adding the encoding parameter to the htmlentities() calls in _shared/table.php? Should be lines 121 and 123:
<?=htmlentities($column['content'], ENT_QUOTES, 'UTF-8')?>Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.