hm, I don't know. But here's an example: $givenName="Bj�rn"; print "latin1 name= ",$givenName,". utf8 name = ",latin1(givenName)->utf8,"\n";
prints this to the screen: latin1 name= Bj�rn. utf8 name = Bjørn The utf8 value prints oddly to the screen but when sent to eDirectory it appears correctly in Novell's tools. With the "use uft8;" pragma in the code, sending that utf8 value to eDirectory causes the ldap modify function to hang. Perl 5.8.0, per-ldap-0.27. "Chris Ridd" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On 19/6/03 12:09 pm, Phillip E. Thomas <[EMAIL PROTECTED]> wrote: > > Figured out my own problem.. removing "use utf8" from the script allows it > > to work properly. > > Did it cause the result of: > > latin1($name)->utf8 > > to be encoded in UTF-8 again (ie double UTF-8 encoding)? > > Cheers, > > Chris >
