[Date Prev][Date Next]
RE: SASL EXTERNAL
--On 28 April 2002 23:00 -0700 Howard Chu <firstname.lastname@example.org> wrote:
I have ldap_t61s_to_utf8s() in libldap which can be used to address this
problem, but it still won't produce the intended result for your DN. Your
Latin-1 (ISO 8859-1) xFC (Latin small letter U with diaeresis - u umlaut)
is not correct for the T.61 Teletex definition. In T.61 xFC is the small
Icelandic thorn character.
Basically your DN is improperly constructed; xC8x55 is the correct T.61
sequence for (Latin small letter U with diaeresis - u umlaut).
Improperly - but quite common, at least here in Germany. RFC2459 also says
that a TeletexString should be interpreted as Latin1:
In addition, many legacy implementations support names encoded in the
ISO 8859-1 character set (Latin1String) but tag them as
TeletexString. The Latin1String includes characters used in Western
European countries which are not part of the TeletexString charcter
set. Implementations that process TeletexString SHOULD be prepared
to handle the entire ISO 8859-1 character set.[ISO 8859-1]
Is there already a function like ldap_t61s_to_utf8s for latin1?
Implementing it shouldn't be much work since each code point in Latin1 is
the same in Unicode.
Norbert Klasen, Dipl.-Inform.
DAASI International GmbH phone: +49 7071 29 70335
Wilhelmstr. 106 fax: +49 7071 29 5114
72074 Tübingen email: email@example.com
Germany web: http://www.daasi.de