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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.