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

tags 340621 + upstream patch
thanks

Attached is a one-line patch that fixes the problem for me : I can now
add and edit entries with names containing non-ASCII characters. As far
as I can tell the patch doesn't have any ill side effects, but it may be
worth asking upstream for their opinion.

Cheers,
Jeremy

- --
http://www.jerryweb.org/             : JerryWeb.org
http://sailcut.sourceforge.net/      : Sailcut CAD
http://opensource.polytechnique.org/ : Polytechnique.org Free Software
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDhrVd4mJJZqJp2ScRAmrBAKComOVtHHK0Ff7kDPE+5O2c0bbqKQCcC/vq
WcyUtJjE7WIQI79TcMANRPQ=
=8zkd
-----END PGP SIGNATURE-----
diff -urN turba2-2.0.3.orig/lib/Driver/ldap.php turba2-2.0.3/lib/Driver/ldap.php
--- turba2-2.0.3.orig/lib/Driver/ldap.php       2005-06-23 23:31:11.000000000 
+0200
+++ turba2-2.0.3/lib/Driver/ldap.php    2005-11-25 07:52:40.000000000 +0100
@@ -650,7 +650,7 @@
             }
         }
 
-        return $dn;
+        return String::convertCharset($dn, NLS::getCharset(), 
$this->_params['charset']);
     }
 
 }

Reply via email to