[Tickets #4692] GetGroupName() when dn contains french accents

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Nov 23 08:30:06 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4692
-----------------------------------------------------------------------
 Ticket             | 4692
 Created By         | patrick.abiven at apitech.fr
 Summary            | GetGroupName() when dn contains french accents
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


patrick.abiven at apitech.fr (2006-11-23 08:30) wrote:

Hello
We are working in ISO-8859-1 charset.
lib/Group/ldap.php getGroupName function uses ldap_explode_dn. But when
the $dn contains french accents, the return is incorrect.

As a  workaround, we use:
$result = split ("[=,]", utf8_encode ($dn));
return utf8_decode($result[1]);
But there is maybe a better way to do that. Thanks for your advises.
Regards
Patrick





More information about the bugs mailing list