Dear Norbert and Patrick,
I beleive the question is actually about the client side... Norbert is exactly
right that it is very important to know about the encoding that you are using on
the server UTF-8 or T.61, but when you receive different garbage back in Windows
and DOS is seem to point to a problem with the Codepage settings. If you are in
Netscape, you might see what is returned in the addressbook and then add or edit
the line in your prefs.js file, that is like the following...
user_pref("ldap_2.servers.pab.csid", "iso-8859-2");
user_pref("ldap_2.servers.pab.filename", "pab.na2");
user_pref("ldap_2.servers.pab.locale", "Polish_Poland");
where the first line is actually the character set that you are using, sometimes
the local is also important. The trick for us in Poland living in the Windows
environment is to get the character setting of the client that entering the
information to equal that of the one reading it. What is interesting is that
Outlook express as a client autodetects the encoding somehow... so that I do not
have a problem.. therefore you might even see how it looks in O.Express and then
you could tell where you need to make the change-->
1. how you were entering the information
2. how it is stored
3. how it is read by other clients
As a guess, it is Microsoft... but you never know.
Best regards,
David
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
David Durkee, Chief Information Officer, e-point S.A.
16 Filona, 02-654 Warsaw (Poland)
tel:+48 502 323 413 www.e-point.pl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Norbert Klasen wrote:
> Hi Patrick,
> > dn: cn=SampleEntry, o=Test
> > sn: Testaccount für Umlaute öäü
> >
> > When I perform a search I get back the following:
> >
> > (DOS): sn: Testaccount f²ur Umlaute ²o²a²u
> > (Windows): sn: Testaccount fÈur Umlaute ÈoÈaÈu
> >
> > What format is the answer encoded? What can I do to get a "usable" string?
>
> If you query an LDAPv3 server it is encoded in UTF-8; LDAPv2 would be
> T.61.
> Be sure that you import the correct values into your server:
>
> dn: cn=SampleEntry, o=Test
> cn: SampleEntry
> sn: SampleEntry
> description:: VGVzdGFjY291bnQgZsO8ciBVbWxhdXRlIMO2w6TDvA==
> objectclass: top
> objectclass: person
>
> --
> Norbert Klasen
> DFN Directory Services tel: +49 7071 29 70335
> ZDV, Universität Tübingen fax: +49 7071 29 5912
> Wächterstr. 76, 72074 Tübingen http://www.directory.dfn.de
> Germany [EMAIL PROTECTED]