PHP 8.4.6 Released!

ldap_8859_to_t61

(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)

ldap_8859_to_t61Translate 8859 characters to t61 characters

Description

ldap_8859_to_t61(string $value): string|false

Translate ISO-8859 characters to t61 characters.

This function is useful if you have to talk to a legacy LDAPv2 server.

Parameters

value

The text to be translated.

Return Values

Return the t61 translation of value, or false on failure.

See Also

User Contributed Notes

faruq dot alavi at live dot de
14 years ago
Description:

ldap_8859_to_t61() assists in the conversion of strings between ISO 8859-1 and t61 encodings. If the string cannot be converted successfully, the function returns FALSE.

Example:

$converted = ldap_8859_to_t61($data);
echo $converted;
To Top