[horde] charset patch for ldap lookup in lib/hooks.php

Aide Florent faide at alphacent.com
Fri Feb 28 07:14:46 PST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello list,

here is a little patch against config/hooks.php.dist cvs head 02/27/2003

I modified the ldap fullname hook to take care of the charset because I did 
not think about it when I wrote the first patch.

The problems arose when I tried to find name with accents in an Netware 5.1 
nldap (which uses utf-8 by default...) the output on screen were horrible 
characters...

I fixed the defaults but maybe someone can rationalize them...

I do not know if I can get the user's charset from some variables so I 
initialized my own but maybe someone can continue upon what I did and get 
those information from the horde config ... (?)

I hope it is usefull to someone.

AIDE Florent.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+X3zwQe8gCED8yYERAr6dAJ4np2GTEvnDrTeoZzOvh+eVtxtEcQCgsgbg
s5eeuVK8cYx2eJbuvWEYvg8=
=Eoad
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hooks_ldap.diff
Type: text/x-diff
Size: 566 bytes
Desc: not available
Url : http://lists.horde.org/archives/horde/attachments/20030228/c1e19b29/hooks_ldap-0002.bin


More information about the horde mailing list