Open z-eos opened 8 years ago
to do utf8::decode() for each attribute value according it's syntax type https://tools.ietf.org/html/rfc2252#section-6.10
like this
$tmp = $entry->get_value( $attr, asref => 1 ); map { utf8::decode($_); $_} @{$tmp}; $init_obj->{$attr} = $#{$tmp} > 0 ? $tmp : $tmp->[0];
to do utf8::decode() for each attribute value according it's syntax type https://tools.ietf.org/html/rfc2252#section-6.10
like this