From: Graham B. <gb...@po...> - 2002-10-17 11:59:44
|
On Sat, Oct 12, 2002 at 05:32:00PM +0200, HP Doerr wrote: > hi all > > i've got some problems here with perl-ldap and utf8 strings. if i'm calling update on an Net::LDAP::Entry object with some attributes as utf8 strings, the servers complains about an invalid syntax. > > but a > $ldap->modify($entry, changes => [ replace => [ attribute => $string ] ] ); > (where $string is the utf8 encoded string) > works as expected. What exactly do you mean by "attributes as utf8 strings" ? What version of perl are you using ? Are you using 5.8 and passing a scalar that you know perl has encoded as utf8 ? I can imagine that may cause an issue, but I am not sure. Graham. > as i can see from the sources of LDAP::Entry, the update method does quite the same. > > so does anybody know, what i'm doing wrong here? > > thans, hp > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf |