In two places (as I discovered so far) PA has trouble displaying UTF-8 characters - in both cases these are "description" fields. From the superadmin point of view:
- description of the domain when listing all the domains in /postfixadmin/list-domain.php
- name of the mailbox owner when listing aliases and mailboxes of a domain in /postfixadmin/list-virtual.php?domain=example.com
I found the problem in the usage of HTMLEntities function, which is missing the encoding parameter.
Change in templates admin_list-domain.php and list_virtual.php seems sufficient:
original: print "<td>" . htmlentities($domain_properties[$i]['description']) . "</td>";
resolved: print "<td>" . htmlentities($domain_properties[$i]['description'],ENT_QUOTES,'UTF-8') . "</td>";
Thanks for your good work!
Log in to post a comment.