Hi, 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')
I have data coming from a lot of sources and I would like to enforce the nice UTF-8 advice on this page: http://www.ahinea.com/en/tech/perl-unicode-struggle.html That is: "Always use UTF-8 to store and process your data. Make sure perl knows you use it. Make sure all your scalars, which contain Unicode, have the utf8 flag on. Then you can safely concatenate strings. Then you can use Unicode-related regular expressions, which gives you great powers for international text processing." ... which give me a problem with Net::LDAP, since the best place to make sure the UTF-8 flag is on on UTF-8 attributes would be in the library it self. Can I somehow tell Net::LDAP which attribute types are UTF-8 and make it set the flags internally? regards, Peter Mogensen