Hi:
In Fingerbob 0.3, UTF-8/Unicode characters from the
LDAP server are not converted before sending them to
the client. According to RFC 1288 (The Finger User
Information Protocol) the client should receive only
ASCII characters (32 to 126 and optionally from 128 to
255).
I know this would destroy all content that cannot be
expressed in pure ASCII (like Asian alphabets), but
fingers clients already can't display those anyway.
Actually, some old finger clients are not 8-bit
transparent, either (they truncate the higher bit).
It would be good to have and option somewhere to allow
only 7-bit (safe choice for old finger clients and
text-only terminals), 8-bit (from 32 to 255) and raw
output (for future or customs).
I did a quick fix by using the Unicode::String module,
converting values returned by get_value, for example:
my $fullname =
Unicode::String::utf8($entry->get_value("cn") ||
"Unknown")->latin1;
Regards,
Mario A. Valdez-Ramirez.