From: Graham B. <gb...@po...> - 2001-06-19 08:55:15
|
On Tue, Jun 19, 2001 at 10:44:47AM +0200, R. Reucher wrote: > Here's what I did to convert: > > $ascii_data = `echo '$ebcdic_data' | iconv -f IBM-1047 -t ISO8859-1` > > or > > $ebcdic_data = `echo '$ascii_data' | iconv -f ISO8859-1 -t IBM-1047` You may want to install Convert::EBCDIC See http://search.cpan.org/search?dist=Convert-EBCDIC > The problem is, I'm searching for the correct portions of code within > the Net::LDAP module _where_ I should convert _what_ !?! I am not sure we can do it all inside Net::LDAP. This is because Net::LDAP does not know what the value of an attribute holds. However there probably places where it can help, for example filter strings and attribute names. But everything else would need to be converted by the application as needed Graham. |