hi ascii attribute values work fine when doing ldap_get_values. but german umlauts (üöä ÜÖÄ) and the german sharp s (ß) are two-byte encoded. how can i recode the returned strings to latin1 using a function that returns an error, if it is not recodable (for example because it contains chinese characters) ? cu & thx erik -- Erik Thiele