A Rose by Any Other Name...

Directory users in the United States may never have to reflect on the fact that string data can be represented in many different character sets. Directory servers that comply with LDAPv3 transmit all string data in the UTF8 character set, a variant of Unicode. UTF8 has the pleasant characteristic that the ASCII characters are represented with the same 7-bit values (one character per byte) as in ASCII. That means that ASCII text can easily be added to a directory, searched, and updated; the data is the same in the UTF8 character set.

Things are trickier beyond the ASCII characters. Programmers and users in some European countries may expect to be able to use characters from the latin-1 character set—for example, å, ...

Get LDAP Programming with Java™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.