You can specify attribute values in character sets other than ASCII. LDAPv3 uses UTF-8 for internationalization.
To use a UTF-8 character in an attribute value, do the following:
Example: Search for All Entries with Common Names Beginning with é
In UTF-8, the character é (e-acute) is C3A9.
To search for all entries with common names beginning with e, use the following DUA command:
search-req base-object=<> whole-subtree filter = { attr = commonName substrings [ initial e };
To search for all entries with common names beginning with é, use the following DUA command:
search-req base-object=<> whole-subtree filter = { attr = commonName substrings [ initial utf8 "\xC3\xA9" };
The Latin-1 character e-acute (E9) in UTF-8 (C3A9) has been encoded.
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |