Re: UTF-8 data from Net::LDAP

2006-08-19 Thread Peter Marschall
Hi Peter, On Friday, 18. August 2006 19:59, Peter Mogensen wrote: > While programming a mod_perl2 application using Net::LDAP I observe that > all data comming from Net::LDAP have the internal Perl UTF8 flag > cleared. (even if the attribute is a 1.3.6.1.4.1.1466.115.121.1.15, > 'Directory String

Re: UTF-8 data from Net::LDAP

2006-08-19 Thread Peter Mogensen
Peter Marschall wrote: > To stay compatible it normally behaves as the older versions of Net::LDAP. > But when giving the option raw followed by a regular expression to the > constructor it treats all attributes not matching this regular expression as > UTF-8 and converts them accordingly. > Sinc

Re: UTF-8 data from Net::LDAP

2006-08-19 Thread Peter Marschall
Hi, On Saturday, 19. August 2006 19:42, Peter Mogensen wrote: > But since RFC 2252 explicitly specifies that syntax > 1.3.6.1.4.1.1466.115.121.1.15 is an UTF-8 string it would be very > usefull to have an option which no matter what the attribute is named > would set the UTF-8 flag on all "Directo